polymorphism
US /ˌpɑː.liˈmɔːr.fɪ.zəm/
UK /ˌpɒl.iˈmɔː.fɪ.zəm/
名詞
1.
多型, 多形性
the condition of occurring in several different forms
例:
•
Genetic polymorphism is common in human populations.
遺伝的多型はヒト集団で一般的です。
•
The crystal exhibited polymorphism, appearing in cubic and hexagonal forms.
その結晶は立方体と六角形の形で現れる多形性を示した。
2.
ポリモーフィズム, 多態性
the ability of an object to take on many forms
例:
•
In object-oriented programming, polymorphism allows objects of different classes to be treated as objects of a common type.
オブジェクト指向プログラミングでは、ポリモーフィズムにより、異なるクラスのオブジェクトを共通の型のオブジェクトとして扱うことができます。
•
Understanding polymorphism is crucial for designing flexible and extensible software systems.
柔軟で拡張可能なソフトウェアシステムを設計するには、ポリモーフィズムを理解することが不可欠です。
関連語: