Polymorphism (computer science)

In programming languages and type theory, accessing different types using a common interface

Nº Q3240252 ★★★

Rare · Knowledge

Polymorphism (computer science)

In programming languages and type theory, accessing different types using a common interface

In programming language theory and type theory, polymorphism allows a value or variable to have more than one type and allows a given operation to be performed on values of more than one type. In object-oriented programming, polymorphism is the provision of one interface to entities of different data types.

Last price

—

Floor price

—

7-day median

—

30-day sales

0

30-day range

—

In circulation

0

Price history

Show table
Datemedian LowHighsales

Sales history

Last sale
—
30-day average
—
30-day low
—
30-day high
—
Sales 7d
0
Sales 30d
0

No sales yet.

Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.

№ Numbered editions · 0 minted Next #1 · Score ×3
From Wikipedia

In programming language theory and type theory, polymorphism allows a value or variable to have more than one type and allows a given operation to be performed on values of more than one type. In object-oriented programming, polymorphism is the provision of one interface to entities of different data types. The concept is borrowed from a principle in biology in which an organism or species can have many different forms or stages. The most commonly recognized major forms of polymorphism are: Ad hoc polymorphism: defines a common interface for an arbitrary set of individually specified types. Parametric polymorphism: does not specify concrete types and instead uses abstract symbols that can substitute for any type. Subtyping (also called subtype polymorphism or inclusion polymorphism): when a name denotes instances of many different classes related by a common superclass.

Text: Wikipédia, CC BY-SA 4.0. · Image: Pronesto (CC BY-SA 3.0) ·

Related cards

Confirmation