Pergunta de entrevista da empresa NSEIT

How can you let this Singleton class getInstance() method be called from multiple threads?

Resposta da entrevista

Sigiloso

23 de ago. de 2022

By marking the method with synchronized keyword.