Science, asked by gurutippa6802, 1 year ago

What is Bridge Design Pattern and Composite Design Pattern?

Answers

Answered by misha10118
0
The bridge pattern is a design pattern used in software engineering that is meant to "decouple an abstraction from its implementation so that the two can vary independently", introduced by the Gang of Four. In fact, the bridge pattern is often implemented using the object adapter pattern.
In software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that is treated the same way as a single instance of the same type of object. The intent of a composite is to "compose" objects into tree structures to represent part-whole hierarchies.
hope this may help..
Similar questions