Skip to main content

Creational Patterns

Creational design patterns abstract the instantiation process. Introducing this design patterns makes a system independent of how its objects are created and composed.
Two major responsibilities of Creational patterns are:
  • To encapsulate the concrete classes that system uses.
  • To encapsulate how instances of these classes are created.

Factory Method: Creates an Instance from a several derieved classes

Abstract Factory: Creates Instance from several family of related classes.

Builder: Separates object instantiation from object representation.

Prototype: A single object is copied and cloned.

(.. to be continued in detail )