Question: Write a program that uses a HashSet of strings to keep track of a list of chores that you have to accomplish today. The user
Write a program that uses a HashSet of strings to keep track of a list of chores that you have to accomplish today. The user of the program can request several services: (1) add an item to the list of chores; (2) ask how many chores are in the list; (3) use the iterator to print the list of chores to the screen; (4) delete an item from the list; and (5) exit the program.
If you know how to read and write strings from a file, then have the program obtain its initial list of chores from a file. When the program ends, it should write all unfinished chores back to this file.
Step by Step Solution
3.40 Rating (181 Votes )
There are 3 Steps involved in it
Here is a Java program that implements the functionality described above using a HashSet of strings ... View full answer
Get step-by-step solutions from verified subject matter experts
