Multiple Inheritance

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
  
 
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."''
 
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."''
 +
 +
===Acceptable Usage===
 +
 +
===Unacceptable Usage===
  
 
==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."

Acceptable Usage

Unacceptable Usage

See Also

Personal tools