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.
- Java Development Kit (JDK) installed on your machine.
- A text editor or Integrated Development Environment (IDE) to edit and run Java code.
- Clone the repository:
git clone https://github.com//mstftmk/Library-System-Simulation.git
- Navigate to the project directory:
cd repo-path
- Compile the Java program:
javac LibrarySystem.java
- Run the compiled program:
java LibrarySystem
-
Or you can use compile and run the
LibrarySystem.java
file using a Java IDE or the command line. -
Follow the on-screen menu instructions to interact with the library system.
- 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.
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.
Contributions are welcome! If you find any issues or want to enhance the program, feel free to open a pull request.