<<< What is an interface? | Index | Interface, Inheritance, and Composition Example >>> |
OO programming languages provide good tools to develop reusable code.
Interfaces can only be used with inheritance relationship.
Interfaces cannot be used with a composition relationship.
Java does not support multiple inheritance of classes...
...Java supports multiple inheritance of interfaces.
<<< What is an interface? | Index | Interface, Inheritance, and Composition Example >>> |