147k views
2 votes
You're asked to implement classes to manage personnels at a hospital. Create a class diagram that includes classes (and some variables and methods) that manage employees and patients in a hospital management program. Use interfaces and inheritance to create a hierarchy of all employees including doctors, nurses, and patients. Then, write the code outline of these classes. You don't have to implement any of the methods or a main method. Just add a simple comment or println statement describing what the method would do.

User Ying Li
by
4.9k points

1 Answer

4 votes

Answer:

Check the explanation

Step-by-step explanation:

Kindly check the attached image below to see the step by step explanation to the question above.

You're asked to implement classes to manage personnels at a hospital. Create a class-example-1
User Cfogelberg
by
4.7k points