Pregunta de entrevista de NiCE

How to make thread safe object in Java?