SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Permits classes with disparate interfaces to work together by creating a common object by which they may communicate and interact.Use WhenA class to be used doesn’t meet interface requirements.
|
Adapter
|
|
Bridge
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -An object adapter can adapt the interface of its parent class.
Detailed explanation-2: -The abstract factory pattern in software engineering is a design that provides a way to create families of related objects without imposing their concrete classes, by encapsulating a group of individual factories that have a common theme without specifying their concrete classes.
There is 1 question to complete.