The shared base-class subobject is called a virtual base class .
共享的基类子对象称为虚基类。
单词 | Base class |
释义 |
Base class
英语例句库
The shared base-class subobject is called a virtual base class . 共享的基类子对象称为虚基类。 An entity is a value, object, subobject, base class subobject, array element, variable, function, instance of a function, enumerator, type, class member, template, or namespace. 实体是一个值,对象,子对象,基类子对象,数组元素,变量,函数,函数的实例,枚举符,类型,类成员,模板,或名字空间。
中文百科
继承 (计算机科学) Inheritance (object-oriented programming)(重定向自Base class)
继承(英语:inheritance)是面向对象软件技术当中的一个概念。如果一个类别A「继承自」另一个类别B,就把这个A称为「B的子类别」,而把B称为「A的父类别」也可以称「B是A的超类」。继承可以使得子类别具有父类别的各种属性和方法,而不需要再次编写相同的代码。在令子类别继承父类别的同时,可以重新定义某些属性,并重写某些方法,即覆盖父类别的原有属性和方法,使其获得与父类别不同的功能。另外,为子类别追加新的属性和方法也是常见的做法。 一般静态的面向对象编程语言,继承属于静态的,意即在子类别的行为在编译期就已经决定,无法在运行期扩充。
英语百科
Inheritance (object-oriented programming) 继承 (计算机科学)(重定向自Base class)
![]() ![]() ![]() ![]() In object-oriented programming, inheritance is when an object or class is based on another object (prototypal inheritance) or class (class-based inheritance), using the same implementation (inheriting from an object or class) specifying implementation to maintain the same behavior (realizing an interface; inheriting behavior). It is a mechanism for code reuse and to allow independent extensions of the original software via public classes and interfaces. The relationships of objects or classes through inheritance give rise to a hierarchy. Inheritance was invented in 1967 for Simula. The term "inheritance" is loosely used for both class-based and prototype-based programming, but in narrow use is reserved for class-based programming (one class inherits from another), with the corresponding technique in prototype-based programming being instead called delegation (one object delegates to another). |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。