Results for Assignment NO : 2 Function & Objects

Assignment NO : 2 Function & Objects

December 24, 2020
Program 2 : Write class declarations and member function definitions for an employee(code, name, designation). Design derived classes as emp_account(account_no, joining_date) from employee and emp_sal(basic_pay, earnings, deduction) from emp_account. Write a menu driven PHP program.

Program 2 : Write class declarations and member function definitions for an employee(code, name, designation). Design derived classes as emp_account(account_no, joining_date) from employee and emp_sal(basic_pay, earnings, deduction) from emp_account. Write a menu driven PHP program.

a) to build a master table
b) to sort all entries
c) to search an entry
d) Display salary.


Answer : 

File : Index.php

Assignment NO : 2 Function & Objects Assignment NO : 2 Function & Objects Reviewed by technical_saurabh on December 24, 2020 Rating: 5

Assignment NO : 2 Function & Objects

December 24, 2020
: Write PHP script to define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume.

Program 1 : Write PHP script to define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume.

Program 1 : Write PHP script to define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume.

Answer : 

File : Index.php

Assignment NO : 2 Function & Objects Assignment NO : 2 Function & Objects Reviewed by technical_saurabh on December 24, 2020 Rating: 5
Powered by Blogger.