> Design Patterns > Bridge > Bridge Design Pattern In Java

Bridge Design Pattern In Java

Bridge design pattern in Java to have interface and implementation independently in separate hierarchies.


Bridge design pattern In Java

Output

Inside RefinedAbstraction1::Operation()
Inside ConcreteImplementor1::Operation()
Inside RefinedAbstraction2::Operation()
Inside ConcreteImplementor2::Operation()


Suresh Kumar Srivastava is founder of online learning site coursegalaxy.com and author of popular books C In Depth, Data Structures Through C In Depth. He has 18+ years experience in industry and worked on architecture and design of multiple products. This article Bridge Design Pattern In Java is from his Design Patterns course.