Home > DeveloperSection > Interviews > What is hash-collision in Hashtable and how it is handled in Java?

Posted on    May-14-2015 11:24 PM

 Java Java  Collection 
 1 Answer(s)
  662  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    May-14-2015 11:24 PM

Two different keys with the same hash value is known as hash-collision. Two different entries will be kept in a single hash bucket to avoid the collision.

Don't want to miss updates? Please click the below button!

Follow MindStick