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.
理解多態性對於設計靈活和可擴展的軟體系統至關重要。
相關詞: