Pergunta de entrevista da empresa Yahoo

Something to do with the singleton pattern.