This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hashcode for 1.5  RSS feed

 
Vinay Belagavi
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers

I am studying for SCJP 1.5 exam and will be takeing it on Aug 30.Can anybody tell me what concepts of hashcode one needs to know to take up the exam.I see a lot of questions on hashcode in the mock tests i took.
Please advice.
Thanks in advance.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of what you need to know (the "hashCode contract") is described in the API documentation for the hashCode method in the Object class.

Beyond that, you should understanding the reasons for hashing. See Understanding hashCode() topic in Eckel's Thinking in Java.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!