Chapter 5. Inheritance and Exceptions in VB.NET

Visual Basic has long supported the notion of class and an object-based programming model. VB.NET brings to Visual Basic the concept of inheritance, which has long been considered one of the cornerstones of object-oriented programming. Visual Basic has also provided an exception handling mechanism through the OnError construct. VB.NET provides structured exception handling, which is a more robust exception handling mechanism that is shared among all the .NET languages.

In this chapter we study in detail these important features of VB.NET. First we review the fundamentals of object-oriented programming. Next, the Acme Travel Agency case study is introduced. This case study is developed throughout ...

Get Application Development Using Visual Basic® and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.