A simple Library Management System built using Java that allows members to borrow and return books, while a librarian can manage books and view member details. The system keeps track of book availability and enforces borrowing limits.
๐ Book Management: Add new books to the library.
๐ฅ Member Management: View and manage registered members.
๐ Borrowing System: Members can borrow up to two books at a time.
๐ฆ Return System: Members can return borrowed books.
๐ Librarian Portal: Allows the librarian to add books and view members.
๐ฅ Console-Based Interface: Interactive menu-driven system.
๐ Note: The class diagram illustrates the structure of the Library Management System. The Library class contains references to Book and Member objects. The Book class manages book details and availability. The Member class tracks borrowed books, and the Librarian class provides functionalities to add books and view members.
- Member
- Librarian
๐ View Library Details
Actors: Member, Librarian Description: Displays the list of books available in the library along with their status.
๐ Borrow a Book
Actors: Member Description: Allows a member to borrow a book if it's available and if they haven't exceeded their borrowing limit.
๐ฆ Return a Book
Actors: Member Description: Enables a member to return a previously borrowed book.
โ๐ Librarian Adds a Book
Actors: Librarian Description: Allows a librarian to add new books to the library system.
๐ฅ Librarian Views Members
Actors: Librarian Description: Displays details of all registered library members and their borrowed books.
โ Exit the System
Actors: Member, Librarian Description: Closes the system when the user chooses to exit.
1. Clone the repository
git clone https://github.com/janavigopu/LibraryManagementSystem.git
2. Navigate to the project folder
cd LibraryManagementSystem
3. Compile and run the Java program
javac LibraryManagementSystem.java java LibraryManagementSystem
๐ Implement a database for book and member records.
๐ฅ Add a GUI interface for a better user experience.
โ Implement exception handling for better error management.
๐ Extend the system to support more books and members dynamically.
Feel free to fork the repository and submit pull requests with improvements!
This project is licensed under the MIT License.