multiple inheritance


Also found in: Acronyms, Wikipedia.

multiple inheritance

(programming)
In object-oriented programming, the possibility that a sub-class may be derived from multiple parent classes which are themselves not derived one from the other.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

multiple inheritance

In object-oriented programming, a class that can contain more than one parent. Contrast with single inheritance.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
In [13], for class hierarchy with multiple inheritance , it is shown that some redundant locks can be reduced without affecting the consistency of the database.
It does not have support multiple inheritance, however, it does make use of the interface which has been influenced from Java.
Ruby, by design, supports single inheritance, but includes most of the benefits of multiple inheritance by the inclusion of what Matz calls modules.
The designers of Java decided not to support multiple inheritance because of the difficulty of C++'s multiple inheritance, but interfaces give some of the benefit of multiple inheritance with less complexity.
Some object-oriented languages also allow multiple inheritance, which enables a class to derive from more than one base class.
A multiple inheritance tree extends single inheritance phylogenetic trees to include phylogenetic relationships with more than one ancestor.
Integration can be achieved through the use of multiple inheritance, given that the represented properties are mutually exclusive and do not affect one another.
Powerful object models adopt multiple inheritance, allowing a type (or class) definition to inherit from more than one supertype.
}; template <class T> signature DEQueue { void enqueueHead (T); T dequeueHead (); void enqueueTail (T); T dequeuetail (); }; template <class T> signature Queue void enqueueTail (T); T dequeueHead () }; Queue<int> * q1 = new DoublyLinkedList<int>; DeQueue<char *> * q2 = new DoublyLinkedList<char *>; It should be noted that this same effect can be achieved in C++ without signatures by using multiple inheritance, e.g., by implementing Queue and DEQueue as abstract classes and having DoublyLinkedList inherit from both.
In addition to enabling rapid SQL development and deployment, CACHE offers the object technology preferred for deployment in the inherently object-oriented Web environment with a object model, including encapsulation, polymorphism, multiple inheritance, collections, and relationships.

Full browser ?