Sabtu, 17 September 2016

How to Achieve runtime polymorphism

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

The post How to Achieve runtime polymorphism appeared first on Coding Security.


How to Achieve runtime polymorphism
read more

Tidak ada komentar:

Posting Komentar