Inside a complete program define a class Human with properties “firstName” and “lastName”. Alsodefine a class Student inheriting Human, which has the property “mark”. Define the class Workerinheriting...

Inside a complete program define a class Human with properties “firstName” and “lastName”. Alsodefine a class Student inheriting Human, which has the property “mark”. Define the class Workerinheriting Human the property “Wage” and “hoursWorked”. Implement a “calculateHourlyWage”method, which calculates a worker’s hourly pay rate based on wage and hours worked and display thewage. Write corresponding constructors

May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here