Question: Use an ArrayList to maintain a to-do list. Each entry in the list should contain a task name (a String), a task description (a String),
Use an ArrayList to maintain a to-do list. Each entry in the list should contain a task name (a String), a task description (a String), and an optional due date (a String in the format of yyyy-mm-dd). The entries in the list are ordered according to their due dates (with the earliest at the beginning), though they are not necessarily entered in that order. Entries without a due date are put at the end of the list.
The program uses a simple user interface (either text-only or graphical) to allow the user to choose the following operations:
To create a new to-do list
To load a to-do list from a file
To create a new entry, and add it into the list
To find an entry in the list by name, and display it
To find an entry in the list by name, and remove it
To display the entry with the earliest due date
To display all entries for a specific due date
To display all entries in the list
To save the list into a file
To exit
Write a main program to test and demonstrate the functions of the class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
