Scotiabank interview question

What is Factory Pattern

Interview Answer

Anonymous

14 Sept 2016

A factory is an object for creating other objects – formally a factory is a function or method that returns objects of a varying prototype or class from some method call, which is assumed to be "new".