Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Objectoriented programming, using java language image text in transcribed
[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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Theory And Applications 27th Australasian Database Conference Adc 20 Sydney Nsw September 28 29 20 Proceedings Lncs 9877

Authors: Muhammad Aamir Cheema ,Wenjie Zhang ,Lijun Chang

1st Edition

3319469215, 978-3319469218

More Books

Students also viewed these Databases questions