Changes

Jump to: navigation, search

OpenOffice temporary template

76 bytes added, 03:29, 9 June 2010
Factory Pattern Design
:When using the concrete classes, the developer has to remember the class names. In factory pattern, choosing what type of object to be created is delegated to the factory class. Usually this is done by sending a parameter. Based on the parameter passed to the factory, the factory creates an instance of a certain type/class.
[[Image:factorypattern.gif|border|none|thumb|300px|Factory Method Pattern]]
<pre>
1
edit

Navigation menu