Question: Can someone help me solve this in Java ? ? In Java Create a program called FirstnameLastnameExam 2 ( replace Firstname with your first name

Can someone help me solve this in Java ??In Java
Create a program called FirstnameLastnameExam2(replace Firstname with your first name and Lastname
with your last name). This program should create an ArrayList called BookList. The program should display
a menu to allow the user to choose from the following options:
Enter 1 to add a book to the list:
Enter 2 to edit a book to the list:
Enter 3 to remove a book from the list:
Enter 4 to display the list of books:
Enter 5 to quit:
The program should use a case/switch statement and switch on the users choice. The program should
continue until the user enters 5 to quit. Case 1 should use BookList.add to add books to the ArrayList. Case
2 should use BookList.set to edit books to the ArrayList. Case 3 should use BookList.remove to remove a
name from the list (Ask the user to enter the index number of the book to delete from ArrayList). Case 4
should use a for loop to display all books in the ArrayList along with their index number. (Sample output)
Your output should look similar to:
*********** The Book List**********
Index: 0 Name: Stranger in a Strange Land
Index: 1 Name: PHP and MySQL
Index: 2 Name: HTML & CSS
Index: 3 Name: Love Story
Index: 4 Name: The Day the Earth Stood Still
Can someone help me solve this in Java ? ? In

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!