Next
-
Previous
Overview
Class
Hierarchy
Types
of Polymorphism
Resources
|
Example of Polymorphism: For example, given a base class shape, polymorphism enables the programmer to define different area methods for any number of derived classes, such as circles, rectangles and triangles.
|