Question 2 (25 marks) Draw a complete class diagram with the relationship connectivity based on the following statement.
Posted: Thu May 26, 2022 9:21 am
Question 2 (25 marks) Draw a complete class diagram with the relationship connectivity based on the following statement. i. A superclass called Human that consist attribute of name and ID and method of speak. ii. The superclass is having two subclasses which are Lecturer and Student. Lecturer consist attribute of roomnumber and student is having CGPA with the method of take note. iii. The student class is having two subclasses called local student and foreign student. Local student is having attribute of IC Number while Foreign student is having attribute of Passport number. Both of classes are having method of study and taking exam.