A console-based Library Management System in Java using OOP and data structures. Overview The Library Managemnt System is a console-based java application designed to help users manage books efficiently. It supports features like adding, borrowing, returning...etc, while ensuring that data is consistently saved through file storage.
- Add, borrow, return, and delete books.
- Search by title, author, or ISBN
- sort books by title or year
- List Books from file(books.txt
Language: Java Concepts: OOP(Encapsulation, Abstraction, Composition) Data Structures: ArrayList, Stack, Queue File Handling: Java I/O (FileReader, FileWriter, PrintWriter, BufferedReader) Exception Handling: Managment of inavalid inputs or missing files
- Clone Repository
- 
git clone https://github.com/Jchare/Library-System.git cd Library-System ```
- Compile the code
javac *.java
- Run the Application
java main
Once the program runs, you'll see a command-line menu. Choose an option to continue
Books loaded from file.
=== Library Management System ===
1. Add Book
2. Delete Book
3. Borrow Book
4. Return Book
5. List All Books
6. Sort Books by Title
7. Sort Books by Year
8. Search by Title
9. Search by Author
10. Search by ISBN
0. Exit
Enter your choice:
- Build a GUI using JavaFX or Swing
- Replace text file storage with SQlite or Json database
- Implement undo functionality using action history stack
This project is licensed under the MIT license.
Author Jamila C. Nchare Mail: Jamilachelsy53@icloud.com GitHub: github.com/Jchare