一个类可能没有父类,这种没有父类的类被称为基类(base class)或根类(root class) 一个类也可以没有子类,没有子类的类被称为叶类(leaf class).
基于12个网页-相关网页
Listing 1 gives the code for the root class of this data structure.
清单1给出了这个数据结构根类的代码。
In this case, a root class (upper-left corner in red) is where the problem originated.
在本例中,一个根类(左上角用红色标明的那个类)是问题的发源地。
A class hierarchy always has a root class; this is a class with very general behavior.
类层次结构总会有一个根类(root class),这是一个具有普遍行为的类。
应用推荐