• 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!