IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
To/From Code
   ► KBTo/From GuidesReferenceOOP Details  Print This     

Inheritance-Multiple (Cross Ref > OOP Details)

Inheritance-Multiple

Access VBA:   Not Supported

ASP Classic:   Not Supported

C#:   Not Supported

C# does not support multiple implementation inheritance. Each class can have only one parent class (a single inheritance path). In C#, you can use multiple interface usage to design in a multiple class way horizontally in a class hierarchy.

More Info / Comment

More Info

C++:   Yes

C++ supports both multiple implementation inheritance and multiple interface inheritance.

More Info / Comment

More Info

Corel Paradox:   Not Supported

Delphi:   Not Supported

Delphi does not support multiple implementation inheritance. Each class can have only one parent class (a single inheritance path).

In Delphi, you can use multiple interface usage to design in a multiple class way horizontally in a class hierarchy.

More Info / Comment

More Info

Delphi Prism:   Not Supported

Java:   Interfaces Only

Java does not support multiple implementation inheritance. Each class can have only one parent class (a single inheritance path). In Java, you can use multiple interface usage to design in a multiple class way horizontally in a class hierarchy.

More Info / Comment

More Info

JavaScript:   Not Supported

There is a trick to fake one descendant class multiple inheritance. Not really worth exploring though but...inside a constructor, call another constructor function. The new object instance will inherit any properties and methods defined in that constructor. However, the new object will not inherit methods defined in the second constructor's prototype chain.

More Info / Comment

More Info

VB Classic:   Not Supported

VB classic supports only a single "level" of inheritance (abstract class to implimentation class).

More Info / Comment

More Info

VB.Net:   Not Supported

VB.Net does not support multiple implementation inheritance. Each class can have only one parent class (a single inheritance path). In VB.Net, you can use multiple interface usage to design in a multiple class way horizontally in a class hierarchy.

More Info / Comment

More Info





Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2024 Prestwood IT Solutions.   [Security & Privacy]