Pergunta de entrevista da empresa Marlabs

What is the difference between Singleton and Factory