Pergunta de entrevista da empresa Qlik

Explain Factory design pattern with a real time example.