Source |
CodingSec |
Identifiant |
81934 |
Date de publication |
2016-09-17 17:00:33 (vue: 2016-09-17 17:00:33) |
Titre |
How to Achieve runtime polymorphism |
Texte |
In programming languages and type theory, polymorphism  is the provision of a single interface to entities of different types. A polymorphic type is one whose operations can also be applied to values of some other type, or types.There are several fundamentally different kinds of polymorphism: Ad hoc polymorphism: when a function denotes different and potentially heterogeneous implementations depending on a limited range of individually specified types and combinations. Ad hoc polymorphism is supported in many languages using function overloading. Parametric polymorphism: when code is written without mention of any specific type and thus can be used transparently with any number
|
Envoyé |
Oui |
Condensat |
achieve also any appeared applied are can code coding combinations denotes depending different entities first function fundamentally heterogeneous hoc how implementations individually interface kinds languages limited many mention number one operations other overloading parametric polymorphic polymorphism polymorphism: post potentially programming provision range runtime security several single some specific specified supported theory thus transparently type types used using values when whose without written â is |
Tags |
|
Stories |
|
Notes |
|
Move |
|