The Library Management System is a simple Java console-based application that allows users to manage a library collection. Users can:
- Add new books
- View all books
- Search for books by title
- Check out books
- Return books
This project demonstrates object-oriented programming (OOP) principles, file handling, and basic user input processing using Java.
- Java (Core programming language)
- ArrayList (To store book data in memory)
- Scanner (For user input handling)
- Install Java Development Kit (JDK) (Version 8 or later).
- Use any Java-supported IDE (Eclipse, IntelliJ IDEA, or VS Code) or run it from the command line.
-
Clone the Repository
git clone https://github.com/gulgen/library-management-system.git
-
Navigate to the Project Directory
cd library-management-system
-
Compile the Java files
javac Main.java Book.java
-
Run the Program
java Main
- Add a Book: Users can add a book by entering its title, author, and ISBN.
- Display Books: Lists all available books in the library.
- Search by Title: Allows users to search for books containing a keyword in the title.
- Check Out a Book: Books can be borrowed by their ISBN.
- Return a Book: Borrowed books can be returned to the library.
Welcome to the Library Management System!
Please select an option:
1. Add a new book
2. Display all books
3. Search for a book by title
4. Check out a book
5. Return a book
6. Exit
Enter your choice:
This project is licensed under the MIT License.