Question: Develop a program using JAVA that display the menu for the library system in order to borrow and return books. The user is the librarian.

Develop a program using JAVA that display the menu for the library system in order to borrow and return books. The user is the librarian. The user need to enter username and the password by implementing hashing. The system need to implement at least 3 data structure and algorithm concept. (linked list/ queue/ priority queue/ hashmap/ sorting/ etc)

The menu consist of 5 option:

1. Display list of book available (1. Physics 2. Biology 3. Chemistry 4. Computer Science 5. Calculus )

2. Enter borrower's details (studentName, studentID, bookTitle, borrowDate)

The limit of borrower only 5 at a time. More than that will go to the waiting list.

3. Print the borrower's list with their details and the due date (after 7 days of borrow date). The list sort by its due date.

4. Print the waiting list

5. Remove borrower's that has returning the book. The person in the waiting list can borrow the book that has been returned.

6. Exit system

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!