← BYTES
Design Patterns·Starter·Ref: 17.1.13
What is the basic purpose of the Bridge pattern?
Have a question about this video? Mention reference 17.1.13 when you contact us.
a.To physically connect two separate computer networks
b.To add new behavior to an object by wrapping it
c.To create a single shared instance accessible globally
d.To separate an abstraction from its implementation so the two can vary and evolve independently of each other
Bridge splits a class hierarchy into two separate, independently-varying hierarchies -- an abstraction (what operations are available) and an implementation (how those operations are actually carried out) -- connected by a reference, so new abstractions and new implementations can each be added without multiplying combinations across a single rigid hierarchy.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES17113#DesignPatterns