in Design Patterns by
Q:

What is Bridge pattern?

► Click here to show 1 Answer

0 votes
by

Bridge is used when we need to decouple an abstraction from its implementation so that the two can vary independently. This type of design pattern comes under structural pattern as this pattern decouples implementation class and abstract class by providing a bridge structure between them.

This pattern involves an interface which acts as a bridge which makes the functionality of concrete classes independent from interface implementer classes. Both types of classes can be altered structurally without affecting each other.

Loan/Mortgage
Learn More with Madanswer

Related questions

0 votes
asked Oct 16, 2019 in Design Patterns by DavidAnderson
...