Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer all of the questions ASAP (within 10 minutes). I will thumbs up/rate if it's correct. Please it's urgent. You need to build a
Please answer all of the questions ASAP (within 10 minutes). I will thumbs up/rate if it's correct. Please it's urgent.
You need to build a software for your classroom management system and for that you are first designing a Course, and an Exam class. A Course class has the following properties: Private data fields courseCode, courseName, and secNo. Private data field of type Exams that should hold all the exams for that particular course. The course Code, courseName, and secNo should be read-only and must be set when the course is created The Exams data field can be read and written. There should be appropriate constructor(s) for this class. An Exam class has the following properties: Private data fields examType, examName, totalMarks. Private data fields of type attempting Students that will hold the list of Students who has attempted the exam. The fields examType, examName, and totalMarks should be read-only and must be set when the exam is created. The attempting Students field is also read-only but it cannot be set when the exam is created. There should be appropriate constructor(s) for this class. a) Draw the detailed UML diagram of Course and Exam classes. (5 x 2 = 10 points) b) Draw the UML diagram that shows the relationship between the classes Course, Student, and Exam. (5 points) c) Write the Course class in Java. You must submit the.java file. (10 points) d) Write the Exam class in Java. You must submit the .java file. (10 points) . What type of relationship exists between the Course and Exam class. Explain briefly. You may use your own words
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started