SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Purpose Defines an abstract object structure independently of the implementation object structure in order to limit coupling.Use WhenChanges in the implementation of an abstraction should have no impact on clients.
|
Adapter
|
|
Bridge
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -The bridge pattern allows the Abstraction and the Implementation to be developed independently and the client code can access only the Abstraction part without being concerned about the Implementation part.
Detailed explanation-2: -The bridge design pattern can be used to decouple an abstraction from its implementation so that both can be changed independent of each other. Design patterns are proven solutions to recurring problems and complexities that evolve in software designs.
Detailed explanation-3: -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.
There is 1 question to complete.