所有的类都从一个通用的基类继承。
对比抽象基类和接口的使用。
Contrast the use of an abstract base class against an interface?
不支持访问从虚拟基类继承的数据字段。
Access to data fields inherited from a virtual base class is not supported.
基类定义了名为load的方法。
首先处理程序必须扩展基类。
因而,最好是创建一个可重用的通用基类。
Therefore it is a good idea to create a generic base class that can be reused later.
所有的异常继承自一个基类。
许多程序员会混淆元类和基类的不同。
Many programmers are confused about the difference between a metaclass and a base class.
我还添加了一个基类。
连接是通过创建pdo基类的实例而建立的。
Connections are established by creating instances of the PDO base class.
我想把性能的公共元素提取到一个抽象基类。
I'll want to extract the common elements of performance into an abstract base class.
这个基类将使编写处理程序类更加容易。
This is a base class that makes writing handler classes easier.
前三个类构成了类层次结构的基类。
The first three classes constitute the base classes of the class hierarchy.
清单9基于编译器会优化空基类的假设。
Listing 9 is based on the assumption that the compiler optimizes away the empty base classes.
现在的问题是,我只能捕获基类这个异常。
page类是所有页面组件的基类。
The org.apache.click.Page class is the base class for each page component.
假设有个类型D,它的基类B实现了某些接口。
Suppose you have a derived class D whose base class B has implemented some interfaces.
派生类具有跟基类相同的动态类属性。
The derived classes have the same dynamic class attributes of the base class.
让我们首先创建基类,并分析生成的代码。
Let's first create the basic class and then examine the generated code.
基类还为标记的名称定义了一些简单的常量。
The base class also defines some simple constants for the names of the tags.
在整个系统中都会使用的部分可以放到基类里面。
The parts that are common throughout all your systems go to a base class you always use.
图1为包含审计字段的持久化实体提供了一个基类。
Figure 1 presents a base class for persistent entities that contains the necessary auditing fields.
LzLayout类是提供该功能的基类。
The LzLayout class is the base class that provides this functionality.
用这个例子,我创建了一个处理属性改变事件的基类。
With this example, I created a base class to handle the property changed events.
joContainer是组织ui元素集合的基类。
JoContainer is the base "class" for organizing sets of UI elements.
Message基类的一个子类特定于消息的具体类型。
There is a subclass of the base message class specific to each type of message.
top对象类是LDAP中所有对象类的基类。
The top object class is the base class for all object classes in LDAP.
首先,我要创建一个抽象基类,用于表示我们要公开的服务。
To begin we create an abstract base class which represents the service we want to expose.
支持接口的每项服务或代理必须继承定义该接口的抽象基类。
Each service or proxy that supported an interface was required to inherit from the abstract base class that defined the interface.
一个子(或继承的)类只可以有一个父类(基类)。
A child (or derived) class can have one and only one parent (or base) class.
应用推荐