During the analysis phase of a project, a new class “Course” was assigned the responsibility
“Add/update sections of a course.” To accomplish this, the “Course” class needs to collaborate
with a new “CourseSection” class. To implement this responsibility, which of the following are
TRUE?
A.
CourseSection requires a method addSection (number, lectureTime, enrollmentLimit,
currentEnrollment, location).
B.
Course requires a sections attribute.
C.
Course requires a sections class attribute.
D.
Course requires a method addSection (number, lectureTime, enrollmentLimit,
currentEnrollment, location).