Amazon interview question

What is factory?

Interview Answer

Anonymous

18 Feb 2011

a factory is an object for creating other objects. It is an abstraction of a constructor, and can be used to implement various allocation schemes.