Google News
logo
Java Collections - Interview Questions
What is hash-collision in Hashtable and how it is handled in Java?
Two different keys with the same hash value are known as hash-collision. Two separate entries will be kept in a single hash bucket to avoid the collision. There are two ways to avoid hash-collision.
 
* Separate Chaining
* Open Addressing
Advertisement