SOFTWARE ENGINEERING

SOFTWARE DESIGN

DESIGN PATTERNS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Allows objects with incompatible interfaces to work together.Is it about Adapter Pattern?
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Adapter is a structural design pattern that allows objects with incompatible interfaces to collaborate.

Detailed explanation-2: -The Adapter pattern is a structural design pattern that acts as a bridge between two interfaces that are incompatible. The term “Adapter” is used to represent an object that enables two mutually incompatible interfaces to communicate and collaborate.

Detailed explanation-3: -The adapter pattern allows classes that have incompatible interfaces to work together. It does this by converting the interface of an existing class (or software) into one that a client (or service) expects.

There is 1 question to complete.