Skip to content

Armt97/library-management-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System (Java OOP)

A Java program to manage Movies, Books, and Journals with inheritance, polymorphism, file I/O, and custom comparators.

Features

  • Supports multiple item types:
    • Movie: id, title, year, director
    • Book: id, title, year, author, pages
    • Journal: id, title, year, volume, issue
  • CRUD operations (add, update, delete, search)
  • File persistence (data/library.txt)
  • Comparator for custom sorting (e.g., by rating, year)

Sample Data

Path: data/library.txt

  • Movie,200,Remember The Alamo,1945,George Smith
  • Book,240,Garden Projects At Home,1998,Mary Freeman,164
  • Journal,215,J of Logic,2008,23,14

Run Locally

# compile
javac -d out src/*.java
# run (no packages)
java -cp out LibrarySystem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages