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.
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.
- Login/ Logout Module
- Account Management
- Manage Books
- Manage Students
- Issue Book
- Return Book
- View Records
- 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
- 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 ======
- Add Book
- Issue Book
- Return Book
- View Books
- Remove Book
- Exit
Enter choice: 1 Enter Book ID: 101 Enter Book Title: Java Programming Book added successfully!