This assignment will deal with a collection of Tasks and errands one may have to accomplish by a particular date.
Make a class called edu.udc.tasks.Task
Ensure the following public attributes:
Integer taskld
Integer priority (0-5, 5=the highest priority)
String taskName
String taskDetail
LocalDate dueDt
Make a constructor that assigns each of these attributes
Add a toString that will output tasks like:
TASK: taskName is due by M/dd/yyyy
PRIO:priority
taskDetail
Make a class called edu.udc.tasks.Sched.
Sched will hold the following public attribute:
String owner
And a private List<Task> myTasks
Add a public method:
void addTask(Task t)
This method must add the Task t to the List<Task>.
Also, make a getter for myTask.
To Sched, add a public method called printDue tasks that will output tasks in order of:
priority, dueDate, taskName.