Next:
Virtual functions
Up:
Object-oriented programming
Previous:
Abstract classes and interfaces
Contents
Multiple inheritance
In Java, a class may
extend
only one class, but it can
implement
any number of interfaces. An interface may
extend
any number of other interfaces.
In C++, you can extend any number of classes.