In Lab 13
April 13, 2004
Today's Lab is on Inheritance
Time will check you off at the end of the lab time.
You will create the classes for the hierarchy below:

Each class should contain:
- An employee should have a first name, last name, and Id number.
- A Hourly employee should have a wage and a number of hours worked.
-
A commission employee should have a commission rate and gross sales
- and a commission + base employee should have a base salary.
Each class should have appropriate constructors, set methods, and get methods.
Write a program that instantiates objects of each of these classes and outputs all the information associated with each object (including inherited information).
Your BlueJ UML diagram should look something like this when your program is complete.

Things you should add while you have time
- Adding the employees by user input
- Create a static method in your driver that prints a menu so users can choose which type of employee to add.
- Put the program in a while loop so the user has to select a menu choice to exit the program.
- Allow users to add new sales totals.
- Add anything else that a sales manager might want to be able to use, salesreports, editing employees, etc. etc.