Bridge Design Pattern in Java

One of the structural patterns, the Bridge Pattern, decouples an abstraction from its implementation so that two can vary independently. The bridge uses encapsulation, aggregation and also it can use inheritance to separate responsibilities into different classes. The Bridge Pattern can be thought of as two layers of abstraction. This pattern involves an interface which […]

Read More