请输入您要查询的字词:

 

单词 inheritance
释义
inheritance

Computer
  • In a hierarchy of objects an object generally has a parent object (superclass) at the next higher level in the hierarchy and one or more child objects (subclass) at the next lower level. Each object can have various attributes associated with it. The attributes can be local to that object, or can be inherited from the parent object. Attributes can be further inherited by child objects (often without limit on the number of inheritances). In addition an object can be an instance of a more general object (not a parent object) with which it shares variables and also inherits its attributes.

    Inheritance is thus a means by which characteristics of objects can be replicated and instantiated in other objects. Inheritance is both static by abstract data type and dynamic by instantiation and value. Inheritance rules define what can be inherited and inheritance links define the parent and child of inheritance attributes.

    See also object-oriented programming.


Biology
  • The transmission of particular characteristics from generation to generation by means of the genetic code, which is transferred to offspring by genes carried on chromosomes in the gametes. See also genetics; mendel’s laws.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/30 23:14:21