Shared Tutorials

Tutorials Shared by the Internet Community

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Basic Detail

Difference between HashMap and Hashtable

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


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 .

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 66.67%  22
 Two starsTwo star  Vote LeftVote MiddleVote Right 0%  0
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 3.03%  1
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 0%  0
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 30.3%  10

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.