Re-use your Person class and extend it for usage in an HR application.
Create and Employer class, with an additional employer number, a salary and a department he/she/it belongs to.
Re-use your Person class and extend it for usage in an HR application.
Create and Employer class, with an additional employer number, a salary and a department he/she/it belongs to.