Vanguard interview question

Difference between HashMap and HashTable.

Interview Answer

Anonymous

28 June 2019

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