Polymorphism refers to the ability to define multiple classes with functionally different, yet identically named methods or properties that can be used interchangeably by client code at run time.
In This Section
- How Visual Basic Provides Polymorphism
- Illustrates different approaches to polymorphism.
- Inheritance-Based Polymorphism
- Discusses using inheritance to achieve polymorphism.
- Interface-Based Polymorphism
- Discusses using interfaces to achieve polymorphism.