Question: Objectoriented programming, using java language [Instructions] 1. This assignement consists of one part. 2. Create the Class Diagram for the problem described. 3. Implement the
[Instructions] 1. This assignement consists of one part. 2. Create the Class Diagram for the problem described. 3. Implement the Java code for the problem described. 4. Output should be organized. Use the techniques you learnt in lab 2, to produce a nice-looking output. 5. Assignment should be delivered within one week from the class time. 6. You are expected to submit 2 java files, one for each part. 7. You are expected to submit one screenshot for each output. Draw the class diagram and implement the code for a set of classes that define the employees of a hospital: doctor, nurse, and administrators. Take into your account that: a. Every employee has an id, name, gender, salary, email, address, and phone number. Users of the class should be able to display information about the different employees. b. The doctor has a ranking (Intern, Junior resident, fellow, etc.), and a specialty. Users of the class can set and get the ranking of the doctor as well as the specialty. c. The nurse has a position (Nurse Practitioner, Director of Nursing, Chief Nursing Officer, etc.). Users of the class can set and get the position of the nurse. d. The administrator has a job title. Users of the class can set and get the job title of the administrator. e. In the main method, create objects of the different classes and display their information
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
