Question: What are the five Creational Design patterns by the Gang of Four ?

  1. Observer, State, Strategy, Template Method, and Visitor.
  2. Composite, Visitor, State, Prototype, and Singleton.
  3. Composite, Builder, Factory Method, Prototype, and Singleton.
  4. 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.