Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 13: Object-Oriented Programming
Last change: February 13 2016 18:47:42.

Chapter 13
Object-Oriented Programming

This chapter continues the discussion of object-oriented programming, which includes three important features: encapsulation, inheritance, and polymorphism. Encapsulation was discussed in detail in Chapter 12, “Object-Based Programming.” This chapter focuses on inheritance and polymorphism.
Inheritance allows a new class to extend the functionality of an existing class without having to change the source code of the existing class. Polymorphism allows different classes to provide functionality with some invariant methods or properties but different implementations. These features greatly enhance the flexibility of coding and using classes, as covered in this chapter.

After completing this chapter, you should be able to:

Last change: February 13 2016 18:47:40.