Difference between HashMap and Hashtable

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Difference between HashMap and Hashtable

Difference between HashMap and Hashtable is one of the most popular java interview questions.
http://javahungry.blogspot.com/2014/03/hashmap-vs-hashtable-difference-with-example-java-i...
  • Total Hits: 6229

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 34 votes

  • Category: JAVA/Collections

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

  • Submitted By: Java Hungry

  • Set as Favorite

Description:

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...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 64.71%  22
 Two starsTwo star  Vote LeftVote MiddleVote Right 0%  0
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 2.94%  1
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 0%  0
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 32.35%  11

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.





Advertisements
Advertisements