Question: Develop a class declaration and definition of an Employee class that is derived from the above Person class. Below shows the UML diagram of the
Develop a class declaration and definition of an Employee class that is derived from the
above Person class. Below shows the UML diagram of the Employee class.
Employee
payRate : float
hrsWorked : float
Employeename:string,age:int,payRate:float,hrsWorked:float
displayEmployee : void
This class should invoke the parameterized constructor of its base class and the
displayEmployee function should invoke the displayPerson function of its base class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
