Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/Book.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,26 @@ public Book(String title, String author, String ISBN, int publicationYear) {
this.isAvailable = true;
}

/**
* Returns the title of the book.
*/
public String getTitle() {
return title;
}

/**
* Returns the author of the book.
*/
public String getAuthor() {
return author;
}

/**
* Returns the ISBN of the book.
*/
public String getISBN() {
return ISBN;
}

}