Java Design Pattern: Bridge

In brief, Bridge Design Pattern is a two layer abstraction. The bridge pattern is meant to “decouple an abstraction from its implementation so that the two can vary independently”. The bridge uses encapsulation, aggregation, and can use inheritance to separate responsibilities into different classes. 1. Bridge pattern story The example of TV and Remote Control(typo … Read more