Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the toString method in the Covid 1 9 Patient class to return a String similar to the sample below: Id: 2 3 Full name: Shukri
the toString method in the CovidPatient class to return a String similar to the
sample below:
Id:
Full name: Shukri Abotteen
Age:
Temperature:
PCR test result: Positive
Treatunent: Paxluvid
RegularPatient
Use the uml diagram above to create the class
The treat method will return Amoxicillin for patients with upper respiratory
tract infections symptoms include coughing, runny nose, or stuffy nose
Patients who have hypertension will be taking ACE inhibitors. All other patients
will be on fluids.
the tostring method in the RegularPatient class will return a String similar to the
sample below:
Id:
Full name: Shukri Abotteen
Age:
Main Symptom: Vomiting
PCR test result: Negative
Treatment: fluids
Design requirements:
Follow all the coding conventions used in IT including but not limited to: naming
conventions, comments, etc
The program should take into account all the expected input scenarios including user
errors.
Your program should implement all the OOP concepts we covered including inheritance,
abstraction and polymorphism.
Your output could be formatted in any style as long as it has all the expected values
Grading criteria:
MainClass
CovidPatient
RegularPatient
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started