JAVA- CLASSES PROGRAM

Hello,
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
4 answers Last reply
More about java classes program
  1. bosbos said:
    Hello,
    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
  2. help me with the answer to the above question?
  3. You didn't ask a question, you just quoted the first post. Perhaps start a new thread and actually include some details.
Ask a new question

Read More

Programming Java Apps