Creational design patterns


Back to Menu


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

The basic form of object creation could result in design problems or in added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation

Creational patterns
  1. Factory Method --Creates an instance of several derived classes
  2. Abstract Factory --Creates an instance of several families of classes
  3. Builder --Separates object construction from its representation
  4. Prototype --A fully initialized instance to be copied or cloned
  5. Singleton --A class of which only a single instance can exist


Back to Menu

No comments:

Post a Comment