> Design Patterns > Bridge > Bridge Design Pattern In Python

Bridge Design Pattern In Python

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


Bridge design pattern In Python

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 Python is from his Design Patterns course.