← BYTES
Design Patterns·Starter·Ref: 17.1.3
What does the Adapter pattern do?
Have a question about this video? Mention reference 17.1.3 when you contact us.
a.Converts one class's interface into another interface that clients expect, letting incompatible interfaces work together
b.Speeds up a slow algorithm
c.Creates a single global instance
d.Adds new behavior to an object at runtime
An Adapter wraps an existing class with a different interface, translating calls so client code written against the expected interface can work with the otherwise-incompatible class unchanged.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES1713#DesignPatterns