Topic: Software Engineering
Which classic Design Pattern falls under the 'Creational' category?
- A. Adapter Pattern
- B. Singleton Pattern
- C. Observer Pattern
- D. Strategy Pattern
Answer: B. Singleton Pattern
Explanation: The Gang of Four (GoF) design patterns are divided into Creational, Structural, and Behavioral categories. The Singleton pattern ensures a class has only one instance and falls under the Creational category. Adapter is Structural, while Observer and Strategy are Behavioral patterns.