Skip to content

mstftmk/Library-System-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library System Simulation

This is a console-based Java program that simulates a library system. The program allows you to manage media items like books and music records, as well as library members. It provides various functionalities such as adding new items, displaying items by genre, viewing most borrowed items, and more.

Table of Contents

Getting Started

Prerequisites

  • Java Development Kit (JDK) installed on your machine.
  • A text editor or Integrated Development Environment (IDE) to edit and run Java code.

Installation

  1. Clone the repository:
git clone https://github.com//mstftmk/Library-System-Simulation.git
  1. Navigate to the project directory:
cd repo-path
  1. Compile the Java program:
javac LibrarySystem.java

Usage

  1. Run the compiled program:
java LibrarySystem
  1. Or you can use compile and run the LibrarySystem.java file using a Java IDE or the command line.

  2. Follow the on-screen menu instructions to interact with the library system.

Menu Options

  • Add new movie to the library system.
  • Add a new music recording to the library system.
  • Add new member to the library system.
  • Display all media items in the library of a given genre.
  • View the most borrowed books and music recordings.
  • Indicate whether a person object is an author or a producer.
  • Save all new media items and members to a text file.

Saving Data

The program allows you to save all new media items and members to a text file. This ensures that your data is persisted across sessions.

Contributing

Contributions are welcome! If you find any issues or want to enhance the program, feel free to open a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages