ProAnswers.org

What is Hashtable in java?

1 Like

This class is exactly similar to HashMap. But it is synchronized. The Hashtable class does not allow null into the keys or into the values. (1.2 version before called legacy classes)