O OneWordDaily
AI-generated image

polymorphism

/ˌpɒlɪˈmɔːrfɪzəm/ noun · British & US
Valid in UKValid in US
Share WhatsApp

What does polymorphism mean?

noun

The ability of an object or a class to take on multiple forms, depending on the context in which it is used. This can be achieved through inheritance, interfaces, or other mechanisms.

Example

"In object-oriented programming, a class can exhibit polymorphism by having multiple methods with the same name but different implementations."

Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.

Etymologically related

Synonyms for polymorphism

Antonyms of polymorphism

Rhymes with polymorphism