What are uses of Hash Code?
Answers were Sorted based on User's Feedback
Answer / suraj kumar
1. When equals() method is invoked on java objects to check
their equality, then the hash code of objects are checked. The
two objects having same hash code are equal.
2. The objects having distinct hash code in HashTable
increases the performance of HashTable. Hence, the objects
should be checked its distinct hash code before storing into
HashTable.
Is This Answer Correct ? | 16 Yes | 2 No |
What do you mean by inner class in java? Explain
What is the use of isempty in java?
Which list is sorted in java?
what is the use of thread?Justify it by project point of view
How will you communicate between two applets?
What is tree node in java?
What is a J2EE component? List out all the component?
Is there any difference between nested classes and inner classes?
What are the advantages and disadvantages of object cloning?
what is the difference between process and thread? : Java thread
What is the maximum size of array in java?
Have you used any version control ? if so explain about it?