memrootじしょ
英和翻訳
polymorphism
polymorphism
[ˌpɑːliˈmɔːrfɪzəm]
ポリモーフィズム
1.
オブジェクト指向プログラミングにおいて、異なるクラスのオブジェクトが同じインターフェースを通じて異なる振る舞いをすること、または同じ名前のメソッドが異なるクラスで異なる実装を持つ特性。
オブジェクト指向プログラミングにおいて、異なるクラスのオブジェクトが同じメッセージ(メソッド呼び出し)に対して、それぞれのクラスに応じた異なる振る舞いをすることを可能にする特性です。これにより、コードの柔軟性と再利用性が向上します。
A
common
example
of
polymorphism
is
using
an
interface
or
base
class
reference
to
refer
to
objects
of
different
derived
classes.
(ポリモーフィズムのよくある例は、インターフェースや基底クラスの参照を使って異なる派生クラスのオブジェクトを参照することです。)
A common example
よくある例
of polymorphism
ポリモーフィズムの
is using an interface or base class reference
インターフェースや基底クラスの参照を用いることです
to refer to objects of different derived classes.
異なる派生クラスのオブジェクトを参照するために。
In
object-oriented
programming,
polymorphism
allows
us
to
write
generic
code
that
can
work
with
objects
of
various
types.
(オブジェクト指向プログラミングでは、ポリモーフィズムによって様々な型のオブジェクトに対応できる汎用的なコードを書くことが可能になります。)
In object-oriented programming,
オブジェクト指向プログラミングにおいて、
polymorphism allows us
ポリモーフィズムは私たちを可能にします
to write generic code
汎用的なコードを書くことを
that can work with objects of various types.
様々な型のオブジェクトで動作できるような。
Polymorphism
helps
in
creating
more
flexible
and
extensible
software
systems
by
allowing
objects
to
take
on
multiple
forms.
(ポリモーフィズムは、オブジェクトが複数の形態を取ることを可能にすることで、より柔軟で拡張可能なソフトウェアシステムを構築するのに役立ちます。)
Polymorphism helps
ポリモーフィズムは役立ちます
in creating more flexible and extensible software systems
より柔軟で拡張可能なソフトウェアシステムを作る上で
by allowing objects
オブジェクトが持つことを許可することで
to take on multiple forms.
複数の形態を。
2.
生物学において、同種の個体間に複数の異なる形態(例:色、形、行動)が存在すること。または、その現象。
生物学において、同じ種に属する個体が遺伝的に異なる複数の形態(例えば、色や大きさ、性別など)を示す現象を指します。これにより、環境への適応度が高まることがあります。
Sexual
dimorphism
is
a
common
form
of
polymorphism
observed
in
many
animal
species.
(性的二形性は、多くの動物種で観察される多形性の一般的な形態です。)
Sexual dimorphism
性的二形性
is a common form
は一般的な形態です
of polymorphism
多形性の
observed in many animal species.
多くの動物種で観察される。
Genetic
polymorphism
in
humans
leads
to
variations
in
blood
types
and
other
inherited
traits.
(人間の遺伝的多型は、血液型やその他の遺伝形質における多様性につながります。)
Genetic polymorphism
遺伝的多型
in humans
人間における
leads to variations
多様性につながります
in blood types and other inherited traits.
血液型やその他の遺伝形質における。
The
existence
of
different
castes
in
ant
colonies
is
an
example
of
polymorphism
within
a
single
species.
(アリのコロニーにおける異なる階級の存在は、単一の種内での多形性の例です。)
The existence of different castes
異なる階級の存在
in ant colonies
アリのコロニーにおける
is an example
は例です
of polymorphism
多形性の
within a single species.
単一の種内での。
関連
inheritance
abstraction
encapsulation
object-oriented programming
diversity
variation