Pergunta de entrevista da empresa EPAM Systems

In this code snippet, implement the Singleton Pattern.