Parametric Polymorphism

Definition & Meaning

Last updated 22 month ago

What is Parametric Polymorphism?

ParaMetric Polymorphism is A Programming Language approach that permits the standard defiNition of Functions and brands, with out a amazing deal of difficulty for type-based totally mistakes. It permits language to be Greater expressive while writing common Code that applies to diverse kinds of inFormation. Functions written in Context with parametric polyMorphism paintings on diverse information sorts.

What Does Parametric Polymorphism Mean?

Parametric polymorphism is the core principle behind widely wide-spread Programming Languages and sySTEMs. It enables the creation of commonplace features and facts types that operate on values, irrespective of Records type.

For example, if a Programming Characteristic operates on two distinctive values, the values may be connected, even though they do now not have the identical Data Types. An Instance is becoming a member of a list of Integers with a Floating point value.

Ada, Haskell, Visual Prolog, Scala, Java and C# are programming languages that support parametric polymorphism.

Share Parametric Polymorphism article on social networks

Your Score to Parametric Polymorphism article

Score: 5 out of 5 (1 voters)

Be the first to comment on the Parametric Polymorphism

7756- V4

tech-term.com© 2023 All rights reserved