Skip to content

Subhamsidhanta/Online-Library-System-in-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Java Online Library System πŸ“š

This is a simple Online Library simulation program written in Java. It allows users to:

  • View available books in the library
  • Add new books to the library
  • Issue books to users
  • Return issued books

The program uses basic Java concepts such as:

  • Loops
  • Conditionals
  • Methods
  • Static variables
  • Arrays
  • Scanner for user input

🧾 Features

  1. βœ… Show Available Books
  2. πŸ“– Add New Book
  3. πŸ’³ Issue a Book
  4. πŸ”„ Return a Book
  5. πŸšͺ Exit the Program

πŸ”§ How It Works

  • The user is shown a menu with options.
  • The user selects an option by entering a number.
  • Based on the selection, the corresponding method is executed:
    • Show the list of available books.
    • Add a new book to the library.
    • Issue a book (mark it as "not available").
    • Return a book (mark it as "available").
  • The program continues running until the user selects "Exit".

πŸ› οΈ Requirements

  • Java JDK (version 8 or above)
  • A Java IDE like IntelliJ, Eclipse, or simply a text editor + command line

▢️ Run the Program

  1. Clone the repo
git clone https://github.com/yourusername/Online-Library-System-in-java.git
cd Online-Library-System-in-java
  1. Compile and Run
javac OnlineLibrary.java
java OnlineLibrary

πŸ“Έ Sample Screenshots

🧽 Menu

Menu

πŸ“– Add Book

Add Book

πŸ’³ Issue Book

Issue Book

πŸ”„ Return Book

Return Book


πŸ™Œ Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages