Design and implement the following classes:
a. An abstract class Employee that represents a generic employee. Include methods to retrieve information about an employee.
b. A subclass of Employee called HourlyEmployee that describes an employee who gets paid by the hour. Include a public method called pay() that returns the pay of the employee for diat week, and any other relevant mediods to manage data fields such as hourly wage and number of hours worked.
c. A subclass of Employee called SalariedEmployee that describes an employee who gets paid a fixed salary every month. Include a public method called pay () diat returns the pay of the employee for that month, and any other relevant methods to manage data fields such as yearly salary and any unpaid leave taken that mondi.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.