Java Programming: For this program you are asked to create a library database th
ID: 3696419 • Letter: J
Question
Java Programming:
For this program you are asked to create a library database that will store a number of books. The book is defined by the following: title author e isbn . publisher Note: make sure to add setters/getters for each of these variables as well as toString method. You also need to have an overloaded constructor that takes all the four parameters (title, author, isbn and publisher) The library will store the books in an arrayList and will have the following methods: addBook(Book): void searchBook(String):Book displayBooks):String You will need to design a GUIsmilatothe one in picture below to allow the user to You will need to design a GUI similar to the one in picture below to allow the user to add a book, display all books and search for any book by title.Explanation / Answer
07 public static void addBook (Book i){ 08 int NumBooks = Book.GetNumBooks(); 09 bookList[NumBooks - 1] = i; 10 11 int lo = 0; 12 int hi = NumBooks - 1; 13 14 for (int j = lo + 1;j=0 && hold.isbn.compareToIgnoreCase(bookList[k].isbn)Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.