Q:

The Factory patterns decouple clients from products by taking advantage of interfaces in two ways

0

The Factory patterns decouple clients from products by taking advantage of interfaces in two ways


  1. The generator class with the factory methods cannot be changed, disallowing variability in factory method implementations
  2. Instances of a variety of classes that implement the product interface can be returned by a factory method, allowing great flexibility in results
  3. All of the mentioned
  4. None of the mentioned

Answers

B. Instances of a variety of classes that implement the product interface can be returned by a factory method, allowing great flexibility in results

total answers (1)