This Library Management System is a console-based java code with OOPs concept that implements 5 options with Librarian authentication to add books and members.
This is for the understanding of almost every OOPs concept and java basics that is covered in developing this management system.
Output for Library Management System :
--- Library Management System ---
-
Add Book (Librarian Only)
-
Add Member (Librarian Only)
-
Issue Book
-
Return Book
-
Search Book
-
Exit Choose an option: 2
Enter Librarian Password: admin
Authentication successful!
Enter Member ID: 18
Enter Member Name: Kaithamalai
Member added successfully: Member ID: 18, Name: Kaithamalai, Borrowed Books: 0
--- Library Management System ---
-
Add Book (Librarian Only)
-
Add Member (Librarian Only)
-
Issue Book
-
Return Book
-
Search Book
-
Exit Choose an option: 5
Enter keyword to search (title/author): Ponniyin Selvan
No books found for the keyword: Ponniyin Selvan
--- Library Management System ---
-
Add Book (Librarian Only)
-
Add Member (Librarian Only)
-
Issue Book
-
Return Book
-
Search Book
-
Exit
Choose an option: 3
Enter Book ID to issue: 123
Enter Member ID to issue to: 18
Book not found.
--- Library Management System ---
-
Add Book (Librarian Only)
-
Add Member (Librarian Only)
-
Issue Book
-
Return Book
-
Search Book
-
Exit
Choose an option: 1
Enter Librarian Password: admin
Authentication successful!
Enter Book ID: 2345
Enter Book Title: Ponniyin Selvan
Enter Book Author: XYZ
Enter Book ISBN: 234567
Book added successfully: Book ID: 2345, Title: Ponniyin Selvan, Author: XYZ, ISBN: 234567, Available: Yes
--- Library Management System ---
-
Add Book (Librarian Only)
-
Add Member (Librarian Only)
-
Issue Book
-
Return Book
-
Search Book
-
Exit
Choose an option: 3
Enter Book ID to issue: 2345
Enter Member ID to issue to: 18
Book issued to member: Kaithamalai
--- Library Management System ---
-
Add Book (Librarian Only)
-
Add Member (Librarian Only)
-
Issue Book
-
Return Book
-
Search Book
-
Exit Choose an option: 6
Exiting system. Goodbye!
Process finished with exit code 0