Pregunta de entrevista de Qlik

Explain Factory design pattern with a real time example.