InterviewSolution
Saved Bookmarks
| 1. |
What Does The Hashcode() Method? |
|
Answer» The HASHCODE() method returns a HASH CODE value (an integer number). The hashCode() method returns the same integer number, if TWO keys (by calling equals() method) are same. But, it is possible that two hash code numbers can have different or same keys The hashCode() method returns a hash code value (an integer number). The hashCode() method returns the same integer number, if two keys (by calling equals() method) are same. But, it is possible that two hash code numbers can have different or same keys |
|