You are on page 1of 1

C

Object adapter

of
fe
class AdapterObject

e
Object Adapter

Po
«interface»
Target Adaptee
Client
+ operation(): void + myOperation(): void

w
er
Using composition instead of
inheritance

ed
#adaptee
ObjectAdapter
operation
+ operation(): void
adaptee.myOperation()

C
re
w

You might also like