Question: Book Collection Java Program: Develop following methods: 1. Add():adds a new book to the list ( A book contains name of the book, author name).

Book Collection Java Program:

Develop following methods: 1.Add():adds a new book to the list ( A book contains name of the book, author name). NOTE:every new book will have access to its neighboring books (previous and next). 2.Remove():in case any book is removed from the pile update your list. 3. countBooks(): displays the total number of books. 4.search(): returns true if the given book is present in the list else returns false. 5. display():shows the book collection.

Output: Note:You are not allowed to use any built-in Data Structure classes to implement below scenario. Book Collection Java Program: Develop following methods: 1.Add():adds a new book to

Welcome Mr. Patrick please select anyone of the following option 1. Add a book 2. Remove a book 3. Show total number of books 4. Search a book 5. Show all books Please input No of your desired operation: 1 Please input following information. Name of the book: warrior of the light Author of the book: Paulo Coelho Successfully added Do you wish to continue? No

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 Databases Questions!