Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Analytical Corporate Finance

Authors: Angelo Corelli

1st Edition

3319395483, 9783319395487

More Books

Students also viewed these Accounting questions

Question

Did you add the logo at correct size and proportion?

Answered: 1 week ago

Question

Did you ask for action?

Answered: 1 week ago