When a generator assumes responsibility for product object creation in a factory method,which of the following capabilities become available?
A. Access to product constructors can be restricted
B. Private data can be provided to new product objects
C. Product objects can be configured after creation
D. All of the mentioned
Answer:A
When a generator assumes responsibility for product object creation in a factory method,which of the following capabilities become available?
A. Access to product constructors can be restricted B. Private data can be provided to new product objects C. Product objects can be configured after creation D. All of the mentioned
Explanation: All the mentioned are true for product object creation.