Programming Tips - Java: What are the differences between Hashtable and HashMap ?
Date: 2010dec13
Language: Java
Q. Java: What are the differences between Hashtable and HashMap ?
A.
- Hashtable is synchronized (ie use it if you have multiple threads).
- HashMap allows null values.