• HashMap object is not synchronized by default whereas Hashtable object is synchronized by default.
• In case of single thread, using HashMap is faster than the Hashtable, whereas in the case of multiple threads, using Hashtable is advisable. With a single thread, Hashtable becomes slow.
• HashMap allows null keys and null values to be stored Whereas Hashtable does not allow null keys and null values.