Lab 4

Due 9:40AM March 5, 2007

  1. PP 8.2 - Design and implement a set of classes that define the employees of a hospital: doctory, nurse, administrator, surgeon, receptionist, janitor, and so on. Include methods in each class that are named according to the services provided by that person and print an appropriate message. Create a main driver class to instantiate and exercise several of the classes.
  2. PP 9.3 - Implement the Speaker interface described in Section 9.3, and create three classes that implement Speaker in various ways. Create a driver class whose main method instantiates some of these objects and tests their abilities.


Sami Rollins