Pregunta de entrevista de UBS

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

Respuesta de la entrevista

Anónimo

29 de feb de 2016

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