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 is percentage in java?
What is a dynamic array in java?
What do you mean by hashing?
Are constructors methods?
How do you clear a method in java?
What do you mean by append?
Define how destructors are defined in java?
What is the difference between preemptive scheduling and time slicing in java programming?
what is request dispatcher and how does it work?
What is numeric function?
How can we make string upper case or lower case?
What is the difference between Byte stream and Charecter Stream?