Multiple Inheritance
From CSSEMediaWiki
(Difference between revisions)
Line 3: | Line 3: | ||
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 | + | Multiple Inheritance is often considered a desirable feature of OO languages However, Riel claims, with relation to the introduction 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:44, 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 However, Riel claims, with relation to the introduction of MI to C++, that "...only 2 percent [of developers] understood why they wanted multiple inheritance and were not misusing it."