Browse - Programming Tips - What are the differences between HashTable and HashMap ?

Date: 2010dec13
Language: Java

Q.  What are the differences between HashTable and HashMap ?

A.

- HashTable is synchronized (ie use it if you have multiple threads).
- HashMap allows null values.