SOFTWARE ENGINEERING

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 WhenAbstractions and implementations should be independently extensible.
A
Adapter
B
Bridge
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -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-2: -GoF Definition: Define an interface for creating an object, but let subclasses decide which class to instantiate. The factory method lets a class defer instantiation to subclasses.

Detailed explanation-3: -Structural design pattern is a blueprint of how different objects and classes are combined together to form a bigger structure for achieving multiple goals altogether. The patterns in structural designs show how unique pieces of a system can be combined together in an extensible and flexible manner.

There is 1 question to complete.