This project is an interactive library management system with a command line interface. The program enables the importing of books and users from a file, and enables the system user to issue and return books. 1.
Click here for a video preview of the program on YouTube
- Programming language: Java 17
- Build tool: Maven
- Unit testing framework: JUnit 4.11
SortedArrayList<E>
-> to create sorted lists of books and usersComparable<E> interface
-> to manage the ordering of books and usersPrintWriter
-> to send out a book return request by writing the request to a fileFile
-> to retrieve the text file containing books and users to importScanner
-> for recording user input via the command line interface and reading a text file
The code has been commented to further explain the purpose of the classes and methods.
$ git clone https://github.com/kimberly-0/library-management-system.git
-
Open
IO.java
(located in src/main/java/kd) in an IDE -
Scroll all the way down and run the
main
method
Footnotes
-
Disclaimer: All user data is fictional, no personal information is used in the program. ↩