Skip to main content

Creational Patterns

Creational patterns deal with object creation mechanisms, trying to create objects in a manner suitable to the situation.

Patterns

  • Singleton - Ensure a class has only one instance
  • Factory Method - Define an interface for creating objects
  • Abstract Factory - Create families of related objects
  • Builder - Separate construction of a complex object from its representation
  • Prototype - Create new objects by copying an existing instance