> Polymorphism in this instance is simply allowing you to call the same function with an integer and string respectively.
Er... no, that's not polymorphism, that's overloading.
Er... no, that's not polymorphism, that's overloading.
This may be ad hoc polymorphism (often synonymous with overloading) - or parametric polymorphism (as in ML or Haskell); but it's unclear what they actually do without some language semantics.