Pergunta de entrevista da empresa Ericsson

How to create a singleton class in Java ?

Resposta da entrevista

Sigiloso

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).