What does the hashCode() method?
Page 1 of 1
What does the hashCode() method?
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.
Similar topics
» Can subclass overriding method declare an exception if parent class method doesn't throw an exception ?
» What is a native method?
» What does join() method?
» What is the purpose of finalize() method?
» Can we call the run() method instead of start()?
» What is a native method?
» What does join() method?
» What is the purpose of finalize() method?
» Can we call the run() method instead of start()?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|