Summary

In this chapter we studied, in detail, the object-oriented aspects of VB.NET, with an emphasis on inheritance. After a review of the fundamentals of object-oriented programming, we introduced the Acme Travel Agency case study, which runs as a strand throughout the entire book. We examined the suitable abstractions that enable us to implement a reservation system for a variety of resources that may be reserved, and we provided an implementation of a hotel reservation system. The abstract base classes we defined provide reusable code that can enable us to easily implement other kinds of reservation systems. The key to good design is to find the right abstractions.

We saw how VB.NET language features facilitate object-oriented programming. ...

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.