Tag Archives: Interview Questions
HashMap vs Hashtable vs HashSet
Posted on 24. Aug, 2009 by Tahir Akram.
8
I was reading about collection framework of Java. And was studying Hashtable, HashMap and HashSet. Its quite interesting to know the differences between them. In this post I will discuss these three with examples.
Hashtable
Hashtable is basically a datastructure to retain values of key-value pair.
It didn’t allow null for both key and value. You will get [...]


