Which of the following describes the Mediator pattern correctly?
A - This pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation.
B - This pattern is used to reduce communication complexity between multiple objects or classes.
C - This pattern is used to restore state of an object to a previous state.
D - This pattern is used when there is one-to-many relationship between objects such as if one object is modified, its depenedent objects are to be notified automatically
This pattern is used to reduce communication complexity between multiple objects or classes.