Question: 4. (30 points) Suppose that the Assignment program considers assignments for three courses with the course numbers 1000, 2000, and 3000. If two assignments have

4. (30 points) Suppose that the Assignment program considers assignments for three courses with the course numbers 1000, 2000, and 3000. If two assignments have the same due date, the course numbers are compared with 3000 having the highest priority, 2000 having the second highest priority, and 1000 having the lowest priority. Modify the compareTo method to account for these course numbers.

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!