Question: Design a java interface called Priority that includes the methods setPriority and getPriority. Design and implement a class called Task that represents a task -

Design a java interface called Priority that includes the methods setPriority and getPriority. Design and implement a class called Task that represents a task - such as a to-do list - that implements the Priority interface. Create a driver that demonstrates Polymorphism. Submit your Priority, Task, and driver class for grading. Design a java interface called Priority that includes the methods setPriority and getPriority. Design and implement a class called Task that represents a task - such as a to-do list - that implements the Priority interface. Create a driver that demonstrates Polymorphism. Submit your Priority, Task, and driver class for grading
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
