Question d’entretien chez Amazon

Explain Factory method and singleton design