+1 vote
in Software Architecture by (75.2k points)
Which of the following truly describes the structure of Generator pattern?

(a) A generator pattern has a Client that needs an instance of a Product class

(b) A Generator that creates or obtains access to such an instance on behalf of the Client

(c) All of the mentioned

(d) None of the mentioned

This question was posed to me in a job interview.

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

1 Answer

0 votes
by (46.2k points)
Correct option is (c) All of the mentioned

Explanation: All of the mentioned are part of generator pattern structure.

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
...