Polymorphism

In computer science this describes the ability to use a variable or function in more than one way. The applied use depends on the context in the program. The easiest example is the use of  “+” (which is in fact a very basic function). In most programming languages, when used with numbers it will calculate the sum, but when a string variable is involved, it will join the strings together.

Select your language