CSC 232 - Introduction to Computer Science II
Lab 2


Lab Objectives
After completing this lab, you should be able to

  1. Work with inner classes

Redo the classes Employee and HourlyEmployee so that the class Date is an inner class of the class Employee and an inherited inner class of the class HourlyEmployee (Hint: HourlyEmployee is a subclass of Employee). Also, add a suitable test program.

Please make sure to do the following before leaving the lab:

  1. Upload an electronic copy of the source code to a subfolder named LABS\lab2 in your csc232 eccentric upload folder
  2. Demonstrate your program to the teacher
  3. Turn in a hardcopy of the source code of the test program only