Vanguard Interview Question

Difference between HashMap and HashTable.

Interview Answer

Anonymous

Jun 28, 2019

Hashmap is not threatening, accepts null as key Hashtable is thread safe, null as key is not allowed. Slower compared to hashmap