Adapter Design Pattern
Learn about the adapter design pattern.
We'll cover the following
Overview
We often use adapters in real life. Suppose we traveled from the US to the UK with a laptop. Our charger won’t plug directly into the power outlet in the UK because they’re incompatible. We can solve this problem by placing an adapter between the plug and the power socket.
Get hands-on with 1400+ tech skills courses.