Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions

Question

Question How is life insurance used in a DBO plan?

Answered: 1 week ago