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)