Question: What are the five Creational Design patterns by the Gang of Four ?
- Observer, State, Strategy, Template Method, and Visitor.
- Composite, Visitor, State, Prototype, and Singleton.
- Composite, Builder, Factory Method, Prototype, and Singleton.
- Abstract Factory, Builder, Factory Method, Prototype, and Singleton.
Answer: The correct answer of the above question is Option D:Abstract Factory, Builder, Factory Method, Prototype, and Singleton.