Content deleted Content added
m →Adapting class/object interfaces: Adaptor => Adapter |
|||
Line 9:
==Multiple Inheritance==
In a [[programming language]] that does not support [[multiple inheritance]] of base classes, wrapper functions can be used to simulate it. Below is an example of part of a [[Java (programming language)|Java]] class that "inherits" from LinkedList and HashSet.
<source lang="java">
|