Employee class hierarchy
-
Recall the inheritance hierarchy of employee classes shown in lecture.
-
Each type of employee extends a common base class
Employee
and has the methods
getHours
,
getSalary
,
getVacationDays
, and
getVacationForm
.
-
For the next several exercises you will add classes to this inheritance hierarchy.
- To do this, either solve the problems in Practice-It!, or download each of these files to your machine:
,
,
, and
.