Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Review question #10 of chapter 3 (Java OCA 8 Programmer I Study Guide)

 
Greenhorn
Posts: 18
3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution on page 340 says:

The if statement on line 18 returns false because ...


I think this should be corrected as follow:

The if statement on line 18 returns true because ...


Is that correct?
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too little information for me to confirm or deny, so I'll notify the authors about your question.

PS. Currently there are 3 books out there for the OCA exam. Could you please add (e.g. in the title) the study guide you have a remark about (makes it clear for everybody). Based on your previous submissions of errata items about Java OCA 8 Programmer I Study Guide, I assume this one is also about this study guide and I added the study guide to the title. Hope that's ok for you.
 
author & internet detective
Posts: 39880
798
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Confirmed and added to the errata. I'll confess that I paid way more attention to making sure the answer was correct than proofreading the explanation. Thanks for catching it. You are a very thorough reader. (Many people gloss over the explanations and just look at the letter answer)
 
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank God. I love this site. I thought I was going crazy when I couldn't quite grasp the explanation. Thank you for this!
 
Get me the mayor's office! I need to tell her about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!