Last active
January 21, 2019 12:40
-
-
Save jellybob/acfd242a8e1cec151ec231226c3a4607 to your computer and use it in GitHub Desktop.
Revisions
-
jellybob revised this gist
Jan 21, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ public String toString() { String message = "The book, " + title + " was written by " + getAuthorName() + " it is " + pageCount() + " pages long."; if (!this.author.alive) { message = message + " It will become public domain in " + getYearsToPublicDomain() + " years."; } return message; -
jellybob created this gist
Jan 21, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ public String toString() { String message = "The book, " + title + " was written by " + getAuthorName() + " it is " + pageCount() + " pages long."; if (!this.author.alive) { message = message + " It will become public domain in " + getYearsToPublicDomain() + " years._; } return message; }