A class (the adaptee class) may be given a new interface by an adapter class in which of these ways?
A. Class Adapter pattern
B. Object Adapter pattern
C. All of the mentioned
D. None of the mentioned
Answer:A
A class (the adaptee class) may be given a new interface by an adapter class in which of these ways?
A. Class Adapter pattern B. Object Adapter pattern C. All of the mentioned D. None of the mentioned
Explanation: A class (the adaptee class) may be given a new interface by an adapter class into two ways- Class Adapter pattern and Object Adapter pattern.