Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Objects/Inheritance/MultipleInheritance

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

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