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
Get step-by-step solutions from verified subject matter experts
