I have to make a program for to-do list (Agenda) in Java in command line interfa
ID: 3622369 • Letter: I
Question
I have to make a program for to-do list (Agenda) in Java in command line interface using the following criteria: Make use of Classes (Interface/Abstract or Inheritance), Encapsulation of Data, Use at least one kind of Data Structure(Single Linked-List, Double Linked-List, Trees), at least one kind of Sort Algorithm (Bubble, Quick, Merge, Insert), Search Algorithm, and Error Handling (Try/Catch statements and If/Else statements).Can anyone provide me with some feedback on how to get started on with this. Thanks for your help in Advance!
Explanation / Answer
You could start by creating a class Item that represents one item of the to-do list. It might contain attributes such as deadline, description, etc. Then, the agenda is a collection of such Items; it could a tree, sorted by deadline.