Question 2 (25 marks) Draw a complete class diagram with the relationship connectivity based on the following statement.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 2 (25 marks) Draw a complete class diagram with the relationship connectivity based on the following statement.

Post by answerhappygod »

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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply