Professional Documents
Culture Documents
Create a base class named Employee that contains name and number and
yearOfHire instance variables. From this class derive a class named
ProductionEmployee, (ie extend Employee) having an additional instance variable
named baseHourlyPayRate.
Now display
The management employee information
The production employee information
It seems the production employee had worked at the organisation before. His hire
date needs to be changed to 2004. Use the setter to do this. Now display this
persons information including base and actual hourly pay rate.