Question: use java script to write the program a Relationship between Classes: [3 marks] Read the following short passage of the text to identify the class

 use java script to write the program a Relationship between Classes":

use java script to write the program

a Relationship between Classes": [3 marks] Read the following short passage of the text to identify the class candidates as well as their possible relationships - composition or aggregation that might exist among them: Assume that we defined a teaching course with attributes: name, dept, year, semester (Fall, S- "Summer", "Winter", use String or enumeration), course description (a paragraph of text). Also, the course is associated with the following: professor with his office number, and a phone extension (note that one course could be instructed by only one instructor, and one instructor may teach several courses at the same time), student may be enrolled to the course note that course may have up to 30 students), - 1) First you have to design a UML class diagram. You may choose to use aggregation/ composition - where necessary. 2) [2 marks] Java implementation: Implement all required classes in Java, according to UML class diagram. Create a test class (class that contains main method) with one course instructed by one specific professor, and add a list of students enrolled into this course. Note: at the end, the program should calculate a course average student's mark for particular course. You are expected to add all programming comments in your code. Lastly, you have to design a UML object diagram

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!