I have this UML class diagram consisting of three classes: Curriculum, Course, and Lecture. The class diagram needs to reflect all the following design decisions:
A course is composed of zero or more lectures.
A curriculum contains (or consists of) one or more courses. All the courses of a curriculum can be accessed from the curriculum, but not the other way around.
A course may have other courses as prerequisites.
The Course class has the following field and methods:
oprotected String name
opublic String getName()
opublic void setName(String name)
AM trying to write a Java application that uses the classes and methods . Please help