Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

OCP Java 8 Study Guide Ch. 2 p. 78 (Sybex)  RSS feed

 
Donald Colvin
Greenhorn
Posts: 13
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Last sentence of the paragraph following the LlamaTrainer code:
We also checked the return type of removeHay(), as it is possible that someone else could have taken the food that we just restocked before we had a chance to use it.

I believe "return type" should read "return value".
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Confirmed and logged. Thanks Donald!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!