DEV Community

Cover image for Adapter Pattern | Design Patterns in Java
coder4life
coder4life

Posted on

Adapter Pattern | Design Patterns in Java

Java implementation of the Adapter Pattern, with acts a wrapper between two objects, that have incompatible interfaces. In this example we create an Adapter to make it possible to get Employees name and title in the same manner as with an ExecutiveEmployee.

Top comments (0)