SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Adapter
|
|
Bridge
|
|
Either A or B
|
|
None of the above
|
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: -Builder is a creational design pattern that lets you construct complex objects step by step. The pattern allows you to produce different types and representations of an object using the same construction code.