The figure illustrates a generic Java class hierarchy. The base class in the figure is the Employee class with the attributes id and lastName. The PartTimeEmployee class inherits these attributes from the Employee class and also defines its own attribute, schedule. The FullTimeEmployee class also inherits the Employee class and defines its own attribute, bonus. The ExemptEmployee class and the NonExemptEmployee class inherit the FullTimeEmployee class and indirectly inherit the Employee class through FullTimeEmployee. Both these classes define a salaryToDate() method.