1. Consider the class Employee. Given your knowledge of some common components of employees
– show a class hierarchy in which the class Employee inherits from other classes, which, in turn, can also be inherited from yet other classes;
– discuss inheritance from class Employee for other closely related derived classes; and
– discuss the common components of class Employee.
How does the “has-a” relationship relate to composition? Give an example of such a relationship.