Which of the following is true with respect to generator pattern?
A. They have a broker that mediates interactions between a client and a supplier
B. They have a generator that creates instances of a product on behalf of a client
C. They have a reactor that registers with a target to respond to target events on behalf of a client
D. None of the mentioned
Answer:A
Which of the following is true with respect to generator pattern?
A. They have a broker that mediates interactions between a client and a supplier B. They have a generator that creates instances of a product on behalf of a client C. They have a reactor that registers with a target to respond to target events on behalf of a client D. None of the mentioned
Explanation: Generator pattern have a generator that creates instances of a product on behalf of a client.