Pergunta de entrevista da empresa Capgemini

Difference between HashMap and Hashtable? Please considered other collection classes too for compression.

Resposta da entrevista

Sigiloso

26 de jun. de 2020

Hashtable -> Thread safe, slow performance, doesn't allow null keys and value HashMap -> Not Thread safe, faster than Hashtable, uses Hashtable to store elements, allow one null key and multiple null values. etc.