Skip to content

A simple yet functional Library Management System built using Core Java. This project demonstrates fundamental programming concepts such as object-oriented design, dynamic data storage using ArrayList, and user interaction via the console. It allows users to add, view, issue, return, and search books, simulating a basic command-line library system.

Notifications You must be signed in to change notification settings

ShravanPusdekar/Library-System-CLI-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

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

About

A simple yet functional Library Management System built using Core Java. This project demonstrates fundamental programming concepts such as object-oriented design, dynamic data storage using ArrayList, and user interaction via the console. It allows users to add, view, issue, return, and search books, simulating a basic command-line library system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages