Domanda di colloquio di Getty Images

Explain a factory design pattern and when will you use it.