Pergunta de entrevista da empresa UBS

What are difference between Hashtable and HashMap ? What is package modifier ? What is the difference between soft reference and weak reference ?

Resposta da entrevista

Sigiloso

29 de fev. de 2016

Hashtable is old, legacy, synchronized heavier than HashMap. HashMap is faster thus but need guarding in shared environment.