Why is it necessary to use getBook().getTitle() in getOutputByBookType() method? Does this make sense/importance? The this.getTitle() is perfectly working, too.
You must be signed in to leave a comment
11 March 2021, 04:56
both are redundant and just simply getTitle() would work and be appropriate.
11 March 2021, 15:00