Amazon Interview Question

What is factory?

Interview Answer

Anonymous

Feb 18, 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.