Does the Bridge Pattern decouples an abstraction from implementation?
BridgePattern decouples an abstraction from its implementation. Abstraction and Implementation can vary independently since the concrete class does not directly implement Abstraction ( interface) Implementation never refers Abstraction. Abstraction contains Implementation interface as a member (through composition). Coming back to your question regarding the example code in [journaldev][4] article : Shape is Abstraction Triangle is … Read more