Skip to content

mahigupta4002/Library-Management-System-Java

Repository files navigation

Library Management System

A simple Library Management System implemented in Java.
This project was created to demonstrate Object-Oriented Programming (OOP) concepts such as Encapsulation, Inheritance, and Polymorphism, along with basic file/database handling.

Personalized and maintained by Mahi Gupta.

About Project:

A Library Management System allows you to keep the Library book records, Library student records and manage them when needed. This is a simple java project with a good and interactive-looking GUI. This Project Use MySQL Database for managing all the data that store in the database.The Library Management System Project In Java And MySQL is simple and basic level small project for learning purposes. Also, you can modify this system as per your requirements and develop a perfect advance level project.

Available Modules:

  1. Login/ Logout Module
  2. Account Management
  3. Manage Books
  4. Manage Students
  5. Issue Book
  6. Return Book
  7. View Records
  8. About project

Future Improvements Export issued book reports to a text file Add student login with password Store records in a database (MySQL + JDBC) Improve search functionality (by title, author, or ID

I built a Library Management System in Java to practice Object-Oriented Programming concepts like encapsulation, inheritance, and polymorphism. The system allows adding, issuing, and returning books, and managing student records. I designed it with a simple menu-driven interface using Java classes and file handling for storage. While developing it, I focused on clean class design and applying OOP principles. I also identified improvements, like adding a search function and exporting reports, which I plan to extend in the future

Library-Management-System-Java/ │ ├── Book.java # Defines Book class and attributes ├── Student.java # Defines Student class ├── Library.java # Core library operations (add, remove, issue, return) ├── Main.java # Entry point with menu-driven interface ├── records.txt # (Optional) file to store issued/returned data └── README.md # Project documentation

How to Run

  1. Clone this repository:
    git clone https://github.com/mahigupta4002/Library-Management-System-Java.git
    cd Library-Management-System-Java

Compile Java files: javac *.java

Run the program: java Main

Use the menu-driven interface to perform operations like:

Add books

Issue/return books

Manage student records

Example Usage ====== Library Menu ======

  1. Add Book
  2. Issue Book
  3. Return Book
  4. View Books
  5. Remove Book
  6. Exit

Enter choice: 1 Enter Book ID: 101 Enter Book Title: Java Programming Book added successfully!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages