From e8d15209a1733fafd3f727c0129067d957bcc7b5 Mon Sep 17 00:00:00 2001 From: Hurly116 <145321072+Hurly116@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:14:38 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c6ea781..12c7773 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # This is a Book Rental System. -Main.java -> This is where methods of the different subclasses were called, contains switch() case that checks what book genre the user will going to borrow. -Library.java -> contains ArrayList collection and adds new elements. Contains displayList() method that displays the available books for every genre. Also checks the validity through the checkBookValidity() and checks if the book is currently rented, also prints the borrowed books through printBorrowedBooks(). -Book.java -> Parent class and a blueprint for subclasses. Contains getter(), setter() and a Book constructor. +- Main.java -> This is where methods of the different subclasses were called, contains switch() case that checks what book genre the user will going to borrow. +- Library.java -> contains ArrayList collection and adds new elements. Contains displayList() method that displays the available books for every genre. Also checks the validity through the - -checkBookValidity() and checks if the book is currently rented, also prints the borrowed books through printBorrowedBooks(). +- Book.java -> Parent class and a blueprint for subclasses. Contains getter(), setter() and a Book constructor. -----------------------------------The following are the subclasses for Book.java. The following classes extends the Book class. Each of the subclasses contains calculateFine() method that calculates fine per day for borrowing the corresponding books that exceed their actual return date.---------------------------------------------------------------------------------------------------------------------------------------- +##### The following are the subclasses for Book.java. The following classes extends the Book class. Each of the subclasses contains calculateFine() method that calculates fine per day for borrowing the corresponding books that exceed their actual return date. -Fantasy.java -> Hurly Cabalan -guitarSongs.java -> Al Pj Baroro -Horror.java -> Rusty Abrantes -Isekai.java -> Joerge Lou -Nihongo.java -> Matthew del Castro -Romance.java -> Rica Noreen Esterado -SciFi.java -> Clyde Pilapil -FictionBook.java -NonFictionalBook.java +- Fantasy.java -> Hurly Cabalan +- guitarSongs.java -> Al Pj Baroro +- Horror.java -> Rusty Abrantes +- Isekai.java -> Joerge Lou +- Nihongo.java -> Matthew del Castro +- Romance.java -> Rica Noreen Esterado +- SciFi.java -> Clyde Pilapil +- FictionBook.java +- NonFictionalBook.java From 14e8aaef3c78db67ce5ca18dec3c0bb0cc772e42 Mon Sep 17 00:00:00 2001 From: Hurly116 <145321072+Hurly116@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:15:47 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 12c7773..af8ec0e 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ - Main.java -> This is where methods of the different subclasses were called, contains switch() case that checks what book genre the user will going to borrow. - Library.java -> contains ArrayList collection and adds new elements. Contains displayList() method that displays the available books for every genre. Also checks the validity through the - -checkBookValidity() and checks if the book is currently rented, also prints the borrowed books through printBorrowedBooks(). - Book.java -> Parent class and a blueprint for subclasses. Contains getter(), setter() and a Book constructor. - +--- ##### The following are the subclasses for Book.java. The following classes extends the Book class. Each of the subclasses contains calculateFine() method that calculates fine per day for borrowing the corresponding books that exceed their actual return date. - +--- - Fantasy.java -> Hurly Cabalan - guitarSongs.java -> Al Pj Baroro - Horror.java -> Rusty Abrantes