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
Loading
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.
<<PreviousNext>>

13.3 Polymorphism

Polymorphism refers to the capability to define identically named methods or properties in multiple classes. Although these members have different implementations, the client code can use them at run time interchangeably without having to deal with the differences in class or implementation. Polymorphism can be inheritance-based or interface-based. Inheritance-based polymorphism involves defining the methods or properties in the base class and requiring the derived class to implement these members. Interface-based polymorphism involves defining the methods or properties in an interface definition and allowing these members to be implemented in various classes.
Last change: February 13 2016 18:47:43.
  1. The Bank Deposit Form: A Data Entry Form Example
  • 13.3 Polymorphism
    1. Inheritance-Based Polymorphism
    2. Using Polymorphism
    3. Interface-Based Polymorphism
    4. Multiple Inheritances
    5. <<PreviousNext>>