A robust Java-based Library Management System developed using Object-Oriented Programming principles. The application allows librarians to manage books, members, borrowing operations, and returns through an interactive console interface.
This project simulates a real-world library management environment and demonstrates the practical implementation of core Java programming concepts.
The system manages:
- Books
- Library Members
- Borrowing Operations
- Return Operations
- Library Information
The project emphasizes clean code, object-oriented design, exception handling, and input validation.
- Add books to the library
- View all books
- Search books by ID
- Check book availability
- Add new members
- View registered members
- Track borrowed books
- Borrow books
- Return books
- Borrowing limit enforcement
- Availability checking
- Book ID validation
- Member ID validation
- Borrow limit control
- Exception handling
- User-friendly error messages
- Java
- Object-Oriented Programming (OOP)
- Java Collections Framework
- Exception Handling
- Console-Based User Interface
Library Management System
│
├── Book
│ ├── Book Information
│ ├── Availability Status
│ └── Borrow / Return Methods
│
├── Member
│ ├── Member Information
│ ├── Borrowed Books List
│ └── Borrow / Return Operations
│
├── Library
│ ├── Book Management
│ ├── Member Management
│ ├── Search Operations
│ └── Library Reports
│
└── Lib
└── Main Application
git clone https://github.com/Wadan3/Library-Management-System.gitjavac Lib.javajava Lib========================================
Library Management System
========================================
1. View all books
2. View all members
3. Add a new book
4. Add a new member
5. Search book by ID
6. Borrow a book
7. Return a book
8. Exit
This project demonstrates:
- Object-Oriented Design
- Class Relationships
- Data Encapsulation
- Exception Handling
- Collections Framework
- Interactive Console Applications
- Software Architecture Fundamentals
| Item | Rule |
|---|---|
| Book ID | Exactly 5 Characters |
| Member ID | Exactly 6 Characters |
| Borrow Limit | Maximum 3 Books |
| Availability | Book Must Be Available |
Current Version:
v1.0.0
This project is licensed under the MIT License.
Abdul Mosawer Wadan
Computer Engineering Student
Amirkabir University of Technology (Tehran Polytechnic)
GitHub: https://github.com/Wadan3
⭐ If you found this project useful, consider giving it a star.