• 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