The Factory patterns decouple clients from products by taking advantage of interfaces in two ways?
A. The generator class with the factory methods cannot be changed, disallowing variability in factory method implementations
B. Instances of a variety of classes that implement the product interface can be returned by a factory method, allowing great flexibility in results
C. All of the mentioned
D. None of the mentioned
Answer:A
The Factory patterns decouple clients from products by taking advantage of interfaces in two ways?
A. The generator class with the factory methods cannot be changed, disallowing variability in factory method implementations B. Instances of a variety of classes that implement the product interface can be returned by a factory method, allowing great flexibility in results C. All of the mentioned D. None of the mentioned
Explanation: Generator class with the factory method can be changed.