what is the BEST approach for accommodating this situation?

Refer to the exhibit to answer the question.

If a course administrator can also be a student and vice versa (for example a part-time worker that
also studies at the University), what is the BEST approach for accommodating this situation?

Refer to the exhibit to answer the question.

If a course administrator can also be a student and vice versa (for example a part-time worker that
also studies at the University), what is the BEST approach for accommodating this situation?

A.
Create Person as a superclass of CourseAdministrator and Student. Move their existing
relationships with other classes to Person.

B.
Make no changes to the class diagram. All necessary processing can be handled by adding
methods to both CourseAdministrator and Student.

C.
Create a “many-to-many” association relationship between CourseAdministrator and Student.

D.
Create Role as a superclass of CourseAdministrator and Student. Then create class Person
(which has the common attributes of Student and CourseAdministrator) and a many-to-many
association relationship between Person and Role.



Leave a Reply 0

Your email address will not be published. Required fields are marked *