OOP consists of five aspects: object, message, method, class and inheritance.
OOP技术由对象、消息、方法、类和继承五个方面组成。
Other languages would have to resort to Inheritance for this, ie. define the method in a class and force users to extend that.
其他编程语言可能要使用继承才能做到:比如在类中定义方法并强迫用户扩展这个方法。
Discovering the entire inheritance tree structure from an existing system is particularly useful, because it helps you uncover what the top-level class is and what subclasses are in the tree.
从一个已存在系统中发现整个的继承树结构是相当有用的,因为它能向您揭露在树中什么是顶级类以及什么是子类。
Anyway, this section talks about UML and class diagrams, inheritance, polymorphism, encapsulation... things they should have shown you in the beginning.
总之,该部分讨论了UML和类图、继承、多态性、封装…一些应该在开头为您介绍的东西。
Inheritance allows you to reuse and customize existing code inside a new class.
继承允许您在新的类中重用和自定义现有的代码。
Perhaps what we need is a new inheritance phrase, IN-TERMS-OF, to describe the relationship between a trait and an implementing class.
或许我们需要的是一种全新的继承术语,用于描述特征和实现类之间的关系。
Offering both an interface and an abstract class is redundant, but I find it convenient: in most cases, I only need the abstract class, but the interface enables multiple inheritance.
同时提供接口和抽象类是多余的,但我发现这样很方便:在大多数情况下,我只需要抽象类,但接口支持多继承性。
It is also important that you understand basic object-oriented paradigms, such as inheritance, class, interface, and so on.
而且,理解基本的面向对象概念(如继承、类、接口等)也很重要。
Inheritance: Annotations — Single table, joined table, and table per class.
继承:标注——单个表、联合表和按类表。
The class API now includes full support for inheritance and superclass method calls. (See Mislav's tutorial for more info.)
类的API目前包含对于继承和超类方法调用的完善支持。
Class abstractions are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.
Class的抽象可由子类化和一种灵活的基于mixin的组合机制(它可作为多重继承的简单替代方案)来扩展。
There are three fundamental solutions for mapping inheritance into a relational database, and to understand them I will discuss the trade-offs of mapping the class diagram presented in Figure 1.
将继承映射到关系数据库中有三种基本解决办法,为更好地理解它们,我将讨论在图1中显示的映射类图表的优缺点。
Our genetic inheritance, our quality of life in utero, education, class, career, lifestyle, status, levels of physical, mental and social activity are just some of the main influences.
影响衰老的主要因素有:遗传基因,胚胎发育,教育,阶级属性,事业,生活方式,身份地位,物理和精神状况,社会活动等。
Variables are strongly typed, and there is class-based inheritance.
变量都是强类型的,还有基于类的继承。
Figure 2 is simply pointing out the concept of Class, which is a highly specialized element that is related to interface and data type (through its inheritance from Classifier).
图2简单地指出了Class的概念,这是一种和接口以及数据类型有关(通过从Classifier继承)的高度专业化的元素。
Inheritance is the means by which objects of a class can access member variables and functions contained in previously defined class, without having to restate those definitions.
继承是一种方法,通过它,类的对象可以访问以前精确定义过的类中的成员变量和函数,而不用重新声明那些定义。
ActionScript 2.0 was introduced in Flash 7, which was strongly typed and allowed class-based programming features, such as inheritance, interfaces, and strict data typing.
在Flash7中引入了ActionScript 2.0,这是一种强类型的语言,支持基于类的编程特性,比如继承、接口和严格的数据类型。
Object-Oriented is a kind of technology basing on the concept of object, class, instance and inheritance, etc. It deals with problems according to the connected objects.
面向对象是依据问题中涉及的对象来看问题,是一种基于对象、类、实例和继承等概念的技术。
In inheritance, the derived class receives the base class member variables and methods. This means that an order of inheritance must be followed during the construction of an object.
在继承中,派生类接受基类的成员变量和方法。这表示继承的顺序必须在对象构造的时候被遵守。
Using the encapsulation, inheritance and polymorphism of OOP, a foundation class library of small satellite software is designed, the detail design of all base classes is introduced.
利用OOP的封装性、继承性和多态性,设计小卫星软件的基本类库,介绍各个基本类的具体设计思想。
A mechanism for treating different implementations as logically "the same kind of thing" - usually polymorphism is implemented via interface implementation and class inheritance.
l一种逻辑上做相同事情,但却有不同实现的机制。我们通常称之为多态机制。
Hierarchy of class template is generated due to the combination of class template and inheritance.
由于类模板与继承的结合,产生了所谓的类模板的层次结构。
Some concepts such as module, communication between modules, exchanging, class, method, inheritance, message sending and receiving are introduced in and directly supported by the interpreter.
它同时引入了模块化、模块间的通讯、切换、类、方法、继承、消息发送及接收等概念,并提供对这些概念的直接支持。
These characteristics include objects, methods, inheritance, class library, durability, query, query optimization, integrity, concurrency, performance and schema modification.
这些特征包括:对象、方法、继承性、类库、持久性、查询、查询优化、完整性、并发性、性能和模式修改。
Such "Is a" relationships are very important in class designs, but it's easy to get carried away and end up in a wrong design with a bad inheritance.
类设计中的这种“是一个”的关系是非常重要的,但是你很容易被迷惑而做出错误的类继承设计。
In software design, the using of encapsulation and inheritance of class improved the flexibility of system.
在软件设计中,采用了类的封装和继承技术。
On the basis of class and in accordance with the level structure and the inheritance relation of class, a rule base is constructed by using linked lists.
它以类为基础,并根据类的层次结构和继承关系用链表来构造规则库。
The rules for type parameters and constraints have several implications for generic class behavior, especially regarding inheritance and member accessibility.
型别参数和条件约束的规则有几个泛型类别行为含意,尤其与继承和成员存取范围有关。
Moreover, it can optimize the whole design program by making use of inheritance relations of data members and member functions between the basic class and its derived class.
同时利用父类与子类间数据成员、成员函数的继承关系,可以优化曲线测设程序的整体设计。
Moreover, it can optimize the whole design program by making use of inheritance relations of data members and member functions between the basic class and its derived class.
同时利用父类与子类间数据成员、成员函数的继承关系,可以优化曲线测设程序的整体设计。
应用推荐