Pregunta de entrevista de EPAM Systems

What is the factory pattern?