Page 1 of 1

Question 5 Answer all questions in this section based on the information contained in the short scenario below: • Joseph

Posted: Fri Jul 08, 2022 6:35 am
by answerhappygod
Question 5
Answer all questions in this section based on the informationcontained in the short scenario below: • Joseph is a doctor. • Heworks at the Chris Hani Baragwanath Academic Hospital in Soweto. •He is responsible for the “Voice of Cancer Anti-StigmaProject”.
Q.5.1 Create a class diagram that will accurately depict theclass described in the scenario above. Your diagram shoulddemonstrate the following: • At least three attributes; • A getterand setter method for each attribute; • Access specifiers.
Q.5.2 Write the pseudocode for the mainline logic that will showhow the instance methods defined in Q.5.1 can be called by theobject. Declare and populate the object. Do not write the methods(only the mainline logic).