• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Wrong statement in chapter 3 review question 2 (Java OCA 8 Programmer I Study Guide, Sybex)

 
Ranch Hand
Posts: 53
1
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Review question section of chapter 3 , question 2 , line 7.
And when we go to Appendix A Answer to Review Question and the explanation for this line is wrong.
In question it is checking equality and in explanation it written that it is checking reference.
I feel it is very minor mistake.
 
Sheriff
Posts: 11606
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi prateek shaw,

First of all, a warm welcome to CodeRanch!

prateek shaw wrote:In question it is checking equality and in explanation it written that it is checking reference.


You are correct! Line numbers are messed up in the explanation. This errata item was reported a year ago here and already added to the official errata overview of this study guide.

Hope it helps!
Kind regards,
Roel
 
prateek shaw
Ranch Hand
Posts: 53
1
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply , however i knew the below website.

https://www.selikoff.net/java-oca-8-programmer-i-study-guide/

First i went there and i was trying to search with statement which was wrong , not the correct.
They should have one more column which is basically should have statements which has issues.
However i know people may say that it has page number. but the problem is i am reading book via safari and i did not see page number so for me it is tough to search and find this.

Is i am missing anything ?


 
Roel De Nijs
Sheriff
Posts: 11606
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

prateek shaw wrote:They should have one more column which is basically should have statements which has issues.
However i know people may say that it has page number. but the problem is i am reading book via safari and i did not see page number so for me it is tough to search and find this.

Is i am missing anything ?


I think adding an additional column with the actual statement would clutter the errata overview. Of course the most easy way is using the page numbers, but if you are reading the study guide through Safari, that's pretty useless. But then the second column should be very handy: it mentions in which chapter the errata item can be found. And because it is sorted on page number, it's chronological (from beginning of the study guide till the end). So that might be a big help to search for a particular errata item.

Hope it helps!
Kind regards,
Roel
 
author & internet detective
Posts: 42135
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And in this case, it also has the question number so pretty easy to find.

We do try to write a snippet of the statement where it makes things clearer. That isn't always the case as Roel noted.
 
reply
    Bookmark Topic Watch Topic
  • New Topic