Multiple choice technology architecture

Provides a simple decision making class which returns one of several possible subclasses of an abstract base class depending on data it is provided

  1. Factory Pattern

  2. Abstract Factory Pattern

  3. Builder Pattern

  4. Prototype Pattern

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The Factory Pattern provides a simple decision-making class that returns one of several possible subclasses of an abstract base class depending on the data provided. It encapsulates object creation logic and allows runtime determination of which concrete class to instantiate.