A simple, text-based Library Management System developed in Java using Object-Oriented Programming (OOP) and File Handling. This project allows librarians and users to manage books, issue/return operations, and view records via a terminal-based interface.
- 📖 Add, Remove, and View Books
- 👤 Register and View Users
- 🔄 Issue & Return Books
- 💾 Persistent Data Storage using File Handling
- 💡 Object-Oriented Design for modular and scalable code
- Java
- OOP (Classes, Objects, Encapsulation, etc.)
- File Handling (Reading & Writing
.txtfiles) - Collections (ArrayList, HashMap)
Library-Management-System/
├── LICENSE.txt
├── README.md
├── .gitignore
├── src/
│ └── com/
│ └── LibraryManagementSystemJava/
│ ├── Book.java
│ ├── User.java
│ ├── Library.java
│ └── Main.java
- Clone or download the repository
git clone https://github.com/karanaggarwal18/Library-Management-System.git
cd Library-Management-System- Navigate to the
srcfolder
cd src- Compile all Java files inside the package
javac com/LibraryManagementSystemJava/*.java- Run the application
java com.LibraryManagementSystemJava.Main📌 Make sure Java is installed and added to your system’s PATH.
- Applied core Java concepts like classes, constructors, lists, and file streams
- Learned to design a modular application using separation of concerns
- Understood how to implement basic CRUD operations with file handling
- Built a practical, non-GUI based real-world project
- 🏫 College mini project for Computer Science / IT students
- 🎓 Learn Java OOP, File I/O, and console-based application building
- 🧠 Enhance DSA and real-world programming skills
Feel free to fork this repository and improve upon it. Suggestions and pull requests are always welcome!
This project is open-source and available under the MIT License.
Made with ❤️ by Karan Aggarwal
📧 karanagg2005@gmail.com
💼 LinkedIn