You are to design a java application program


You are to design a Java application program with files and classes and objects to manage books in a library and offer the following basic services:
Search for books
Check out books
Return books

Each book has the following data:

Title
ID
Category
Author
Publisher
Year published
Number of copies available

Books data of at least 20 books are saved in a text file and input into an array in the program. Updates of books data in the array are also saved back to the file. The user does not need to log in to use the services at the library and there is no need to keep users data. Design a password for the library manager to log in so he may add,delete and update books. 

The user may use any of the following to search for books:
Title
Author
ID
Publisher

And, the user can check out any number of available books. Book check-outs and returns are "self service" and the user can use the book ID to identify each book.

The program must include at least the two classes below:

Book
Library

The Book class must include at least the methods below:

All the "get" and "set" methods for each data member
Constructors
"equals"
"toString"

The Library class must include at least the methods below:

search
checkOut
bookReturn
Constructors
readBookData: Input books data from a text file to an array
saveBookData: Output books data from an array to a text file
manager: For the library manager to log in
addBook: For the library manager to add a new book
deleteBook: For the library manager to delete a book
updateBook: For the library manager to modify book data 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: You are to design a java application program
Reference No:- TGS094140

Expected delivery within 24 Hours