英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

polymorphism    音标拼音: [p,ɑlim'ɔrfɪzəm] [p,ɑlim'ɔrfɪzm]
n. 多形,同质异像,多形现象

多形,同质异像,多形现象

polymorphism
多型

polymorphism
n 1: (genetics) the genetic variation within a population that
natural selection can operate on
2: (chemistry) the existence of different kinds of crystal of
the same chemical compound [synonym: {polymorphism},
{pleomorphism}]
3: (biology) the existence of two or more forms of individuals
within the same animal species (independent of sex
differences)

Polymorphism \Pol`y*mor"phism\, n.
1. (Crystallog.) Same as {Pleomorphism}.
[1913 Webster]

2. (Biol.)
(a) The capability of assuming different forms; the
capability of widely varying in form.
(b) Existence in many forms; the coexistence, in the same
locality, of two or more distinct forms independent of
sex, not connected by intermediate gradations, but
produced from common parents.
[1913 Webster]

A concept first identified by
{Christopher Strachey} (1967) and developed by Hindley and
Milner, allowing {types} such as list of anything. E.g. in
{Haskell}:

length :: [a] -> Int

is a function which operates on a list of objects of any type,
a (a is a {type variable}). This is known as parametric
polymorphism. Polymorphic typing allows strong type checking
as well as generic functions. {ML} in 1976 was the first
language with polymorphic typing.

Ad-hoc polymorphism (better described as {overloading}) is the
ability to use the same syntax for objects of different types,
e.g. "" for addition of reals and integers or "-" for unary
negation or diadic subtraction. Parametric polymorphism
allows the same object code for a function to handle arguments
of many types but overloading only reuses syntax and requires
different code to handle different types.

See also {generic type variable}.

In {object-oriented programming}, the term is used to describe
a {variable} that may refer to objects whose {class} is not
known at {compile time} and which respond at {run time}
according to the actual class of the object to which they
refer.

(2002-08-08)


请选择你想看的字典辞典:
单词字典翻译
polymorphism查看 polymorphism 在百度字典中的解释百度英翻中〔查看〕
polymorphism查看 polymorphism 在Google字典中的解释Google英翻中〔查看〕
polymorphism查看 polymorphism 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • What is polymorphism, what is it for, and how is it used?
    Polymorphism in OOP means a class could have different types, inheritance is one way of implementing polymorphism for example, Shape is an interface, it has Square , Circle , Diamond subtypes now you have a Square object, you can upcasting Square to Shape automatically, because Square is a Shape
  • oop - What is polymorphism in JavaScript? - Stack Overflow
    Polymorphism is the ability to define a generic type of behaviour that will behave differently when applied to different types Let's say we have an Animal class that implements the talk method If class Dog and Cat inherit talk() from class Animal, object dog and object cat both will talk but in a different form
  • oop - Polymorphism (in C) - Stack Overflow
    I guess, you already checked Wikipedia article on polymorphism In computer science, polymorphism is a programming language feature that allows values of different data types to be handled using a uniform interface According to that definition, no, C doesn't natively support polymorphism
  • What is the main difference between Inheritance and Polymorphism?
    The main difference is polymorphism is a specific result of inheritance Polymorphism is where the method to be invoked is determined at runtime based on the type of the object This is a situation that results when you have one class inheriting from another and overriding a particular method
  • oop - What is the difference between dynamic and static polymorphism in . . .
    Polymorphism refers to the ability of an object to behave differently for the same trigger Static polymorphism (Compile-time Polymorphism) Static Polymorphism decides which method to execute during compile time Method Overloading is an example of static polymorphism, and it is requred to happens static polymorphism
  • Why do we need virtual functions in C++? - Stack Overflow
    Wikipedia, Subtyping, 2019-01-09: In programming language theory, subtyping (also subtype polymorphism or inclusion polymorphism) is a form of type polymorphism in which a subtype is a datatype that is related to another datatype (the supertype) by some notion of substitutability, meaning that program elements, typically subroutines or





中文字典-英文字典  2005-2009