Last lab: Finish the project
Learning Objective(s)
- Show all that you have learned this semester.
- Use existing classes to finish the calendar project.
Overview of the program
You are adapt your calendar keeper from lab 7 to use arrays to store the data instead of files.
Details
- Create a Calendar Keeper class that interacts with the user the same way your lab 7 does.
- Create a Calendar class
- It should not use files.
- It should use an array to store a number of days
- Only create an entry in the array of days when there is at least one task for it.
- The array need not be sorted.
- If a task is being added to a day that already exists (i.e. has at least one task in it already), the new task should just be added to that task.
- It should be able to find a given day in the list of days.
- This class does not need an equals or compareTo
- All normal exceptions should be handled (not thrown)
Submission
- Create an empty zip folder.
- Place your classes (.java files) in it
- Place your software development report in it.
- Submit the zip folder on canvas
Optional improvements
- Save the data between each running of the program in a binary file and load it back up when the program launches
- Add another option that displays a given month's calendar with a * after each date that has a least one task.
- Add another option that displays an entire year's calendar with a * after each date that has at least one task.
- Sort the days before they are ever displayed.