Creational patterns are design patterns that deal with how an object is created. These patterns create objects in a manner that is suitable for the situation. There are two basic ideas behind creational patterns. The first is encapsulating the knowledge of which concrete classes should be created and the second is hiding how instances of these classes are created.
There are five well-known patterns that are part of the creational pattern category. These are as follows: