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
Answer:A
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
Explanation: All of the mentioned are part of generator pattern structure.