Question: Design and implement a set of classes that define the employees of a hospital: doctor, nurse, administrator, surgeon, receptionist, janitor, and so on. Include methods
Design and implement a set of classes that define the employees of a hospital: doctor, nurse, administrator, surgeon, receptionist, janitor, and so on. Include methods in cach class that are named according to the services provided by that person and that print an appropriate message. Create a driver class to instantiate and implement these classes and invokes their toStringO methods. Draw the UML diagram for these classes. 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
