Skip to content

PoojithaJN/LibraryManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

LibraryManagementSystem

Objective

Build a basic console-based Library Management System using Java that allows:

  • Viewing books and users
  • Issuing a book to a user
  • Returning a borrowed book
  • Displaying data in the console with validation

It uses Java console input/output and runs in a loop until the user exits.

Tools Used

  • Java (JDK 24)
  • Eclipse IDE
  • Git & GitHub

How to Run the Project in Eclipse

  1. Open Eclipse IDE
  2. Create a new Java Project
    • File → New → Java Project
    • Name it: 'Task3'
    • Click Finish
  3. Create a new Java class
    • Right-click on src → New > Class
    • Name: 'LibraryManagementSystem'
    • Check the option: public static void main(String[] args)
    • Click Finish
  4. Write the code
    • in 'LibraryManagementSystem.java'
  5. Run the program
    • Right-click the file → Run As → Java Application
  6. Use the terminal in Eclipse
    • Choose options from the menu to view books, users, issue or return books

Key Concepts Practiced

  • Java Classes & Objects (Book, User, Library)
  • Object-Oriented Programming (OOP Principles)
  • Encapsulation (private fields with getters/setters)
  • ArrayList for dynamic in-memory storage
  • Control Structures (if, while, switch)
  • Scanner Class for user input
  • Method Overriding (toString() for clean output)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages