O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Inheritance in VB.NET

VB.NET supports a single inheritance model. Thus a class may derive from a single base class, and not from more than one. (In fact, as we saw in the previous chapter, every class in VB.NET ultimately derives from the root class System.Object.[3] This single inheritance model is simple and avoids the complexities and ambiguities associated with multiple inheritance, as in C++. Although a VB.NET class can inherit only from a single base class, it may inherit from several interfaces, a topic we will discuss in the next chapter.

[3] In previous versions of VB, the Variant type represented the universal data type. In VB.NET, the Object class is the universal data type. The Variant type is no longer supported in VB.NET. Variant ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required