Suppose you have been given the following design A person has a-04036
Suppose you have been given the following design<br>"A person has a name, age, address and sex. You are designing a class to represent a type of personcalled a patient. This kind of person may be given a diagnosis, have a spouse and may be alive".<br>Given that the person class has already been created, what of the following would be appropriate toinclude when you design the patient class?
This multiple choice question (MCQ) is related to the book/course
vu cs304 Object Oriented Programming.
It can also be found in
vu cs304 Final Term - Quiz No.6.
Suppose you have been given the following design
"A person has a name, age, address and sex. You are designing a class to represent a type of personcalled a patient. This kind of person may be given a diagnosis, have a spouse and may be alive".
Given that the person class has already been created, what of the following would be appropriate toinclude when you design the patient class?
"A person has a name, age, address and sex. You are designing a class to represent a type of personcalled a patient. This kind of person may be given a diagnosis, have a spouse and may be alive".
Given that the person class has already been created, what of the following would be appropriate toinclude when you design the patient class?
registration date and diagnosis
age and sex
sex and diagnosis
diagnosis and age