Write a java interface called priority that includes two


Question: Write a Java interface called Priority that includes two methods: setPriority and getPriority. The interface should define a way to establish numeric priority among a set of objects. Design and implement a class called Task that represents a task (such as on a to-do list) that implements the Priority interface. Create a driver class to exercise some Task objects.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a java interface called priority that includes two
Reference No:- TGS02318708

Expected delivery within 24 Hours