Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

SoftGrowTech_Library_management

📚 Library Management System (OOP‑Based) A simple Library Management System implemented using core Object-Oriented Programming (OOP) concepts in Java. This project demonstrates how real‑world library operations can be modeled using classes, objects, inheritance, polymorphism, abstraction, and encapsulation.

🚀 Features Add new books

Search books

Delete books

Add members (Students / Teachers)

Calculate fine using polymorphism

Clean OOP architecture

Console‑based interaction

🧠 OOP Concepts Used

  1. Encapsulation Book details (title, author, isbn, isAvailable) are private

Accessed/modified only through methods

  1. Inheritance Student and Teacher classes inherit from the base class Member

  2. Polymorphism Both Student and Teacher override calculateFine() with different logic

  3. Abstraction Member is an abstract class

Forces child classes to implement calculateFine()

  1. Aggregation Library contains a list of Book and Member objects

🏗️ Class Structure 📘 Book Class Represents a book in the library. Stores details like title, author, ISBN, and availability.

👤 Member (Abstract Class) Base class for all members. Contains:

Name

Member ID

Abstract method calculateFine()

🎓 Student & 👨‍🏫 Teacher Child classes of Member. Each has its own fine calculation logic.

🏛️ Library Class Manages:

Adding books

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages