Jump to content

C++ Language/Objects/Inheritance/MultipleInheritance

From Wikibooks, open books for an open world

A C++ class may inherit from multiple base classes. However, that practice is often discouraged unless all but one of the base classes are "interfaces" (in C++, an "interface" takes the form of an "abstract class" having "pure" virtual functions that define an API without providing their own implementations).

Additional information about multiple inheritance