- What are six different types of creational design patterns?
- What is Singleton factory and builder design pattern?
What are six different types of creational design patterns?
There are 6 types of creational design patterns: Factory Method, Abstract Factory, Singleton, Prototype, Builder, and Object Pool pattern.
What is Singleton factory and builder design pattern?
Singleton – Ensures that at most only one instance of an object exists throughout application. Factory Method – Creates objects of several related classes without specifying the exact object to be created. Abstract Factory – Creates families of related dependent objects.