Domanda di colloquio di Finmatics GmbH

Explain factory pattern. When and why do we need it?