Answer all questions in this section based on the information contained in the short scenario below:• 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”.
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.(This Counts 20 Marks)
Once That Is Done...Write the pseudocode for the mainline logic that will show how the instance methods defined in the previous question can be called by the object. Declare and populate the object. Do NOT write the methods (only the mainline logic).(This Counts 15 Marks)
Answer all questions in this section based on the information contained in the short scenario below: • Joseph is a do
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am