Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.5 KB

File metadata and controls

76 lines (52 loc) · 2.5 KB

image# 📚 Java Library Management System

A console-based Java application that simulates a basic Library Management System. Designed with object-oriented principles, this project handles book inventory operations such as adding, viewing, issuing, returning, and searching for books using an interactive menu-driven interface.


🚀 Features

  • 🔍 Add, view, and manage a dynamic collection of books
  • 📖 Issue and return books with status tracking
  • 🔎 Search for books by their unique ID
  • ❌ Handles invalid operations with informative messages
  • 🧪 Easily extendable for user management or file storage

🛠️ Tech Stack

Technology Usage
Java Core logic and structure
OOP Classes, objects, methods
ArrayList Dynamic book storage
Scanner User input handling

📂 Project Structure

LibraryManagementSystem/ ├── Book.java # Book class with ID, name, author, issue status ├── Library.java # Manages books (add, view, issue, return, search) ├── User.java # (Optional) For future user-specific features └── libraryManagementSystem.java # Main program with menu and control flow


📸 Screenshots

  • Menu-image
  • Book addition-image
  • Book issue/return-image
  • Search operationimage

🧠 Key Learning Outcomes

  • ✅ Hands-on with Java classes, methods, and encapsulation
  • ✅ Worked with ArrayList and control structures
  • ✅ Built a mini CLI app following clean, modular code practices
  • ✅ Understood user interaction in Java console apps

🧩 Future Enhancements

  • Add search by book name or author
  • Maintain issued books per user
  • Implement data persistence (e.g., using files or databases)
  • Build a GUI version using Swing or JavaFX
  • Role-based system: Admin vs. User access

📦 Installation & Running

Prerequisites

  • JDK installed
  • IDE (e.g., IntelliJ, Eclipse) or terminal

Run with Terminal

javac libraryManagementSystem.java
java libraryManagementSystem