This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCJA & .equals()

 
Brandt Charles
Ranch Hand
Posts: 57
Chrome IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have both of Cameron Mackenzie's SCJA preparation books. In them, questions involving the equals( ) are sometimes specific enough such that the assumption is written that the method has been properly overridden. Some do not say that, which obviously changes what the correct answer is to be.

When asked questions involving the equals method on the actual exam, can I only assume it has been overridden when a similar disclaimer is given? My thought is yes since Cameron included this in the study guides, but one can never be too careful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic