Ganezh Capriawan
Advanced Programming – Module 3, Universitas Muhammadiyah Malang
This project is a simple Java program that demonstrates Object-Oriented Programming (OOP) concepts through a Library and Book Management System.
It shows how to:
- Create and manage objects (
Library,Book,BookInfo) - Use abstract classes (
Item) - Apply encapsulation and constants
- Implement methods and JavaDoc documentation
- Add new books to a library
- Display book details including discounted price
- Structured OOP hierarchy (Abstract Class + Inheritance)
- Fully documented with JavaDoc
| Class | Description |
|---|---|
Main |
Entry point that creates a Library and adds a Book |
Library |
Represents a library with name and location |
Item |
Abstract base class for items with title and price |
BookInfo |
Holds information before adding a book |
Book |
Inherits from Item and implements displayDetails() |