+1 vote
in Software Architecture by (75.2k points)
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

The question was asked by my college director while I was bunking the class.

Question is from The Generator Category, Factory Patterns and Singleton Patterns in portion Visibility, Accessibility and Information Hiding of Software Architecture

1 Answer

0 votes
by (46.2k points)
Right answer is (d) All of the mentioned

For explanation: All the mentioned are true for product object creation.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...