Module 5 - Employee Inheritance Lab
Objective
In module 3 Module 3 - Lab - Employee, you created an Employee class. I would like you to create 2 sub-classes of an Employee for this Lab. The sub-classes will both inherit from the Employee Class. The following two classes will need to be created. Please ensure aggregated classes have copy constructors and they are used in the appropriate places.
Driver Program Create a Driver Program to demonstrate the use of each of the classes (Salary and Hourly). For the Driver Program, you do not need to get any user input - simply invoke the needed constructors and print the information for each type of employee.
|
Deliverables
Upload the following files in a zip folder that you have created:
Java class files
Screenshot of the Console with the code executing
COSC-1437 / ITSE-2457 Computer Science Dept. - Author: Dr. Kevin Roark