|
|
|
|
|
by edmccaffrey
6135 days ago
|
|
> They get the definition of polymorphism wrong, because their definition ... is also met by compile time function overloading. That doesn't make the definition incorrect; there are many types of polymorphism. Function overloading is an example of ad-hoc polymorphism; generics is an example of parametric polymorphism; and inheritance is an example of inclusion polymorphism. |
|