Question 5 (Ma Answer all questions in this section based on the information contained in the short scenar below: . Q.5.
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 5 (Ma Answer all questions in this section based on the information contained in the short scenar below: . Q.5.
Question 5 (Ma Answer all questions in this section based on the information contained in the short scenar below: . Q.5.1 Joseph is a doctor. He works at the Chris Hani Baragwanath Academic Hospital in Soweto. He is responsible for the "Voice of Cancer Anti-Stigma Project". 20, 21, 22 Create a class diagram that will accurately depict the class described in the scenario above. Your diagram should demonstrate the following: . At least three attributes; A getter and setter method for each attribute; Access specifiers. Ⓒ The Independent Institute of Education (Pty) Ltd 2022 Q.5.2 Write the pseudocode for the mainline logic that will show how the instance methods defined in Q.5.1 can be called by the object. Declare and populate the object. Do not write the methods (only the mainline logic).