While creating an application for a hospital, which entities should be defined a
ID: 3728553 • Letter: W
Question
While creating an application for a hospital, which entities should be defined as classes? 1. Doctors Patients Nurses a. d l of the listed items Which of the following options would be appropriate to be defined as classes in an auto rental application? 2. Car and RentalApplication. Vehicle, Car, Truck, and SUV Car, Auto, and PayForCar Car, Auto, and PrintRentalAgreement. a. In the following class definition, which of the data members or member functions are encapsulated from the class users? 3. class Car public: Car () void startO void stop) private: double speed; void set speed (double new speed); a. void start () and void stop () b. Car (), void start (), and void stop () c. double speed and void set speed (double new speed) d. void start (), void stop , double speed, and void set speed (double new speed)Explanation / Answer
If you post more than 1 question, as per chegg guidelines I have to solve only 1 question.
Ques 1. (d) All of the listed items
All of them have different roles in the hospital and they are not related to each other. So, it is better that there is a seprate class for each of them and define their roles in the class.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.