Difference between HashMap and Hashtable

Tutorials Shared by the Internet Community

Advertisements


Synopsis

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

Statistics

  • Total Hits - 11368

  • 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

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


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements