Answered You can hire a professional tutor to get the answer.
A Company has a list of Employees. It asks you to provide a payroll sheet for all employees. Has extensive data (name, department, pay amount, .) for...
A Company has a list of Employees. It asks you to provide a payroll sheet for all employees.
Has extensive data (name, department, pay amount, …) for all employees.
Different types of employees – manager, engineer, software engineer.
You have an old Employee class but need to add very different data and methods for managers and engineers.
Suppose someone wrote a name system, and already provided a legacy Employee class.
The old Employee class had a printData() method for each Employee that only printed the name. We want to reuse it, and print pay info.