Difference between HashMap and Hashtable

Tutorials Shared by the Internet Community


Difference between HashMap and Hashtable

Difference between HashMap and Hashtable is one of the most popular java interview questions.


  • Total Hits - 32952

  • Total Votes - 40 votes

  • Vote Up - 15 votes

  • Vote Down - 25 votes

  • Domain - javahungry.blogspot.com

  • Category - JAVA/Collections

  • Submitted By - Java Hungry

  • Submitted on - 2014-04-02 06:14:08


We have already discussed other popular java interview questions like ArrayList vs Vector and Comparator vs Comparable .This question is generally asked in java intereview to check whether candidate understand correct usage of collection classes and has knowledge of alternative solutions. Difference between hashmap and hashtable includes five point namely Synchronization,Null keys and values,Iterating values , Fail fast iterator ,Performance,Superclass .    More detail...

Broken  |   Save  |   Liked  |   Down

E-Books Store