Frage im Vorstellungsgespräch bei SmartNet IT Solutions

difference between hash map and hash table ?

Antwort im Vorstellungsgespräch

Anonym

5. Dez. 2020

Hash Map is non synchronized. It is not-thread safe and can't be shared between many threads without proper synchronization code whereas Hash table is synchronized. Hash Map allows one null key and multiple null values whereas Hash table doesn't allow any null key or value.