Skip to content

Wadan3/Java-Library-Management-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Library-Management-System πŸ“š

πŸ“– Project Overview

A robust, Object-Oriented Java application designed to manage library operations efficiently. This system enables administrators to track book inventory, manage library members, and handle the book borrowing/returning workflow with built-in validation rules.

πŸš€ Key Engineering Features

  • Object-Oriented Design: Implements clean separation of concerns using Book, Member, and Lib (Library) classes.
  • State Management: Tracks the availability status of books in real-time, preventing unauthorized borrowing.
  • Data Validation: * Enforces strict length constraints for Book ID (5 characters) and Member ID (6 characters).
    • Prevents invalid operations such as borrowing unavailable books or exceeding the maximum limit of 3 borrowed books per member.
  • Robust Error Handling: Uses IllegalArgumentException and IllegalStateException to manage domain-specific errors gracefully.

πŸ—οΈ Technical Architecture

  • Language: Java (JDK 8+)
  • Architecture: Object-Oriented Design (OOD)
  • Core Logic: * Book: Manages book details and availability state.
    • Member: Handles member registration and manages a list of borrowed items.
    • Lib: Acts as the central controller for library operations.

πŸ› οΈ Usage

This application demonstrates core Java capabilities. Upon execution, the system:

  1. Initializes the library with a collection of books.
  2. Registers members.
  3. Processes borrowing requests with validation checks.
  4. Returns books and updates library inventory.
  5. Prints the final state of the library, including all books and member activities.

πŸ“ How to Run

  1. Ensure you have Java installed.
  2. Compile the classes: javac *.java
  3. Run the main application: java Main

About

A robust Java-based Library Management System featuring OOP principles, strict data validation, and real-time inventory tracking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages