Multiple Inheritance
From CSSEMediaWiki
(Difference between revisions)
Line 2: | Line 2: | ||
It is an available construct in C++, Eiffel and Perl. However, it is not available in Java or C#. | It is an available construct in C++, Eiffel and Perl. However, it is not available in Java or C#. | ||
+ | |||
+ | Multiple Inheritance is often considered a desirable feature of OO languages, Riel claims, with relation to the introducation of MI to C++, that ''"...only 2 percent [of developers] understood why they wanted multiple inheritance and were not misusing it."'' | ||
==See Also== | ==See Also== | ||
* [[Avoid multiple inheritance]] | * [[Avoid multiple inheritance]] |
Revision as of 01:43, 23 July 2009
Multiple Inheritance (MI) occurs when a subclass has two or more super classes.
It is an available construct in C++, Eiffel and Perl. However, it is not available in Java or C#.
Multiple Inheritance is often considered a desirable feature of OO languages, Riel claims, with relation to the introducation of MI to C++, that "...only 2 percent [of developers] understood why they wanted multiple inheritance and were not misusing it."