polymorphism
🇺🇸
/ˌpɒlɪ'mɔfɪzəm/
🇬🇧
/ˌpɒlɪ'mɔ:fɪzəm/
When something can have different forms or ways of being.
Butterflies show polymorphism in their wing patterns.
In programming, when a function can work with different types of data.
Polymorphism lets you use the same function for different data types.