Multiple choice

Which of the following is a correct statement about 'Bridge' design pattern?

  1. It declares an interface to receive and act in extrinsic state.

  2. It is used to make an independent implementation for the abstract view.

  3. It separates the construction of a complex object from its representation.

  4. It specifies an abstract interface for creating parts of a product object.

  5. It constructs an object using the builder interface.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This pattern decouples an abstraction from its implementation, so that the two can vary independently.