The Adapter pattern is mainly used to enforce exactly one object instance.
Practice this question from Quiz: Design Patterns, with options and an explanation.
Question
The Adapter pattern is mainly used to enforce exactly one object instance.
Option A
True
Adapter converts the interface of an existing class into another interface clients expect.
Option B — Correct answer
False
Adapter converts the interface of an existing class into another interface clients expect.