my ap computer science assignment is basically to do the following:
- Front menu gives the options to edit, save, delete, search for books
(about 10 books)
- In the edit menu, it gives more options to edit book title, author,
and date published and save it.
-delete menu lists the all the books and you can choose which one to delete
-search menu allows the user to type in a book title or author and a
list comes up and after the book is selected, the user should be able
to edit, save, delete it from that menu.

-the book title, author, and date published should be in .txt files
-written in JAVA

i'm new to java, so i'm having trouble with deleting and searching part of the program. so what is the main structure or format for these parts? thanks!