For this lab you will implement three classes: Employee
which represents employees of a company; Company
which
represents companies; and UseCompany
that uses the other
two classes. See the given skeleton of Employee
and Company
. UseCompany
is given and you won't
have to change it unless you want to add more features than I
require in this lab.
I am providing a skeleton for both Employee
and Company
along with the output of a sample run
of UseCompany
. Your job is to complete the skeletons so
that UseCompany
produces the same output that my sample run
generated.
Download and work on the following four files:
When you are done with these, feel free to leave the lab.