adplus-dvertising
frame-decoration

Question

The Mediator pattern has which of the following advantages?

a.

It decouples collaborators, making them more changeable and reusable

b.

It centralizes control of an interaction in the mediator class, making it easier to change, thus increasing modifiability

c.

It simplifies the collaborators, making them easier to understand, and hence to change

d.

All of the mentioned

Answer: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The Mediator pattern has which of the following advantages?

Similar Questions

Discover Related MCQs

Q. Which are the drawback for mediator pattern?

Q. Which of the following is consequence of mediator class?

Q. Which of the following is true for Adapter pattern?

Q. The Adapter patterns provide object-oriented adapters in which of theses varieties?

Q. A class (the adapter class) may be given a new interface by an adapter class in which of the two ways?

Q. A class (the adapter class) may be given a new interface by an adapter class in which of these ways?

Q. Which of these states about Object Adapter pattern?

Q. Which of the following is true for proxy pattern?

Q. Which of the following is not followed by proxy pattern?

Q. What are stand-ins for objects not yet created are called?

Q. Which of the following is incorrect with respect to the proxy pattern?

Q. Which of the following is consequence for proxy pattern?

Q. Most object-oriented languages and systems provide which of these ways to create new objects?

Q. Which of the following truly describes the structure of Generator pattern?

Q. Which of the following is true about factory method?

Q. When a generator assumes responsibility for product object creation in a factory method,which of the following capabilities become available?

Q. Which are the several reasons for using generator patterns?

Q. The Factory patterns decouple clients from products by taking advantage of interfaces in two ways?

Q. What are the types of factory pattern?

Q. Which class that can have only one instance?