Polymorphism vs. overloading
With a polymorphic function, the exact same function can be used with many different argument types
In contrast, overloading gives several different functions the same name
3 + 4;
7 : int
3.0 + 4.5;
7.5 : real
Previous slide
Next slide
Back to first slide
View graphic version