Pregunta de entrevista de Ericsson

How to create a singleton class in Java ?

Respuesta de la entrevista

Anónimo

25 de jun de 2021

Related to Design Patterns, we can find the solution on the internet (don't forget to create a synchronized constructor to avoid multiple access by multiple threads in the meantime).