Super Class : Employee Attributes : Employee_id name, salary Methods : • Read the employee details • Display the employee details Sub class : Salary_details Attributes : HRA,CCA,DA,Gross_salary...


Super Class : Employee Attributes : Employee_id name, salary Methods : • Read the employee details • Display the employee details Sub class : Salary_details Attributes : HRA,CCA,DA,Gross_salary Methods : • Calculate the HRA, DA,CCA • Calculate the Gross_Salary and return the gross salary • Display the salary details. Driver Class : • Display the employee details and salary details. The following information are required for the assignment Properties with proper data types Methods with proper return types and scope Demonstration of OOP feature (Inheritance) Demonstration of OOP feature (polymorphism) Proper naming convention Proper comments in each program and within program Purpose of each code should be explained. Program Execution (output) Presentation (Word Document)



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here