Pergunta de entrevista da empresa Capgemini Engineering

Explain Singleton and Factory pattern