superclass

superclass

1. If no field was found in steps 1 and 2 above, and C has a superclass S, then this algorithm is invoked recursively upon S.

(翻译:如果在第 1、2 两步没有找到任何字段,且 C 有一个超类 S,则在 S 上递归调用该算法。

2. 1.when you implement a method that is defined in a superclass ,you override the orignal method.

1.当你实现一个超类里定义的方法时,你重写原来的方法。

3. A class that passes properties and methods to another class is called a superclass.A class can be both a subclass and a superclass.

一个超越其他类别的类别被称为超级类别,一个类别可以既是最高类别又是超级类别。

4. Once the superclass constructor is done, the subclass constructor completes initialization and turns the superclass object into a subclass object.

一旦父类构造函数完成上述工作,子类的构造函数就进行完整的初始化,并将该父类对象转化为子类对象。

5. Unfortunately, we pretty much decide things when we design the superclass.

不幸的是,在设计基类的时候我们就需要决定太多了。

6. We can use this abstract superclass in our HQL queries, as shown in Listing 14.

中继承而来,所以我们可以在HQL查询中使用这个抽象超类,如清单14所示。

7. To simplify coding, we provide superclass selectors with the same arguments as selectors;

为简化编码,我们给基类选择器与选择器同样的调用参数。

8. Subclasses provide specialized behaviors from the basis of common elements provided by the superclass.

亚纲提供来自由总纲提供的通常元件的基专门的行为。

9. Things remain finite because we start with a trivial class Object and with a first metaclass Class which has Object as a superclass.

从一个最简约的类'''Object'''和元类'''Class'''(前者为后者的基类)出发,现在的局面还不是太复杂。

10. But Fujimoto these days is most at home in the glittering towers of Roppongi Hills, the urban development complex that has come to represent Japan's new superclass.

但是这些天藤本几乎都在六本木之丘闪闪发光的大厦里呆着,这是代表日本新兴贵族阶层的最新摩天大楼复合体。

11. To be on the safe side, we supply superclass selectors for all dynamically linked methods, i.e., every selector has a corresponding superclass selector.

保险起见,我们给所有动态连接方法提供基类选择器,即每个选择器都有其相应的基类选择器。

12. keyword operator that allows a subclass to invoke it's superclass's method.

允许子类触发它的超类中方法的关键字操作符。

13. Also, each subclass inherits methods from the superclass.

同时, 每个亚纲继承来自总纲的方法。

14. Likewise, you almost always call a superclass method at either the start or end of a descendent method body.

同样,您几乎总是在子代方法主体的开始或结束部分调用超类方法。

15. Similarly, the bicycle class is the superclass of mountain bikes, racing bikes, and tandems.

同样地,脚踏车类别是山脚踏车的总纲, 空转脚踏车 , 和汇接。

16. In the solution associated with this article, you ll see that the common code for each of the actions has been moved to an abstract superclass.

在与本文相关的解决方案中,您将看到每个操作的公共代码都被移到了抽象超类中。

17. When a method accepts a superclass instance, yet uses the derived type of this instance to control its behavior, changes are required for the introduction of each new subclass.

在以超类实例为参数的方法中,如果必须知道实例的具体派生类型时才能控制实例行为,那么在引入新的子类时就必然要修改超类的代码。

18. And in this process, the superclass of keeping a proper degree must always be emphasized.

在和调阴阳的过程中,又须时刻注重适度的原则。

19. to provide a different method implementation in the subclass from its superclass.

在子类中实现超类中提供的不同的方法.

20. Before a subclass constructor performs its own initialization, it is required to call the superclass constructor.

在子类构造函数进行其初始化之前,它必须调用基类构造函数。

21. There are some constant definitions at the top, followed by a private field we will use to create numbered note titles, and some overrides of methods from the superclass.

在最上面有一些常量定义,接着的私有区域里我们将创建数字形式的记事标题,并且还有一些从超类重载的方法。

22. Name subclasses in your hierarchies by prepending on an adjective to the superclass name.

在超类名字前加上内容命名你层次中的子类。

23. if that class doesn't define the method, its superclass will be searched, and so on.

如果那个类也没有定义这个方法,它的超类将被搜索,依此类推。

24. A subclass constructor should first let the superclass constructor do that part of the initialization which turns plain memory into the superclass object.

子类的构造函数应该首先让父类的构造函数来完成把空白记忆体开辟为父类对象的那部分初始化工作。

25. Fields are protected fields that the detector inherits from its superclass.

字段是检测器从其父类继承的protected字段。

26. The requirement for this common superclass is driven by the need for interception.

对这一公用超类的要求源自截获需要。

27. Just as you sometimes want to call on superclass methods in an inherited method, you also sometimes want to call on less specific rules within a dispatcher.

就像您有时想对继承方法中的超类方法进行调用一样,您有时还想在分派器内对不太特定的规则进行调用。

28. Therefore the class of generalized precedence grammar is a superclass of the weak precedence grammar.

弱优先文法和弱运算符优先文法都是它的真子文法。

29. When a method accepts a superclass instance, yet uses the derived type of this instance to control its behavior, changes will be required for the introduction of each new derived class.

当一个方法接受了超类的实例,却使用这个实例的派生类型来控制它的行为,那么为了引入新的派生类也一定要做出一些改动。

30. When a method is invoked and it is not part of the derived class, its immediate superclass will be searched;

当一个方法被调用并且它不属于导出类时,它的直接超类将被搜索;

31. When a method is invoked and it is not part of the derived class, its immediate superclass will be searched; if that class doesn't define the method, its superclass will be searched, and so on.

当一个方法被调用并且它不属于导出类时,它的直接超类将被搜索;如果那个类也没有定义这个方法,它的超类将被搜索,依此类推。

32. an additional first parameter must be specified as the class for which the method calling the superclass selector is defined.

当然,第一个参数是额外的,我们必须用它指定调用方法所属的类。

33. We can force the erasure to be different, by explicitly specifying a superclass in the bound for the formal type parameter T.

我们可以迫使擦除湿不同的,通过显示的在形式参数T的边界中指定一个超类。

34. we need a coherent way to add, remove, or change the order of dynamically linked methods for a superclass while guaranteeing correct inheritance to its subclasses;

我们需要一个明晰一致的方式增减或改变基类方法的排序,同时保证它的子类正确的继承;

35. public class Test{ public static void main(String[] args){ SuperClass s1=new SubClass(); System.out.println(s1.a);

我想问一下,在整个程序的运行步骤是怎样的!还有最后值是多少!谢谢各位前辈指教!

36. Superclass of all exceptions specific to Object Stream classes.

所有对象流异常类的父类。

37. The abstract superclass defines and may partially implement the behavior, but much of the class is undefined and unimplemented.

抽象的总纲而且下定义可能部份地履行行为,但是许多类别是未阐明的:未解释的和未实施的。

38. abstract superclass

抽象超类

39. APPROACH 2 IS MORE ERROR PRONE THAN APPROACH 1 BECAUSE IT IS EASY TO FORGET TO OVERRIDE CLONE() AND ACCIDENTALLY INHERIT A SUPERCLASS'S VERSION THAT WILL RETURN AN OBJECT OF THE WRONG TYPE.

方案2比如案1更容易出错,因为很容易忘记覆写(OVERRIDE)CLONE()方法,并由此意外的继承了父辈类别(SUPERCLASS)的CLONE()版本,其返回一个错误型别的对象。

40. Method, I also override this method to store the value, calling the superclass to complete default behavior.

方法设置,所以我覆盖了这个方法以存储这个值,调用超类以完成默认的行为。

41. According to this principle, the ability to substitute a derived class object for a superclass object is characteristic of good design.

根据这一原则,将超类对象替换为派生类对象的能力是良好设计的一大特征。

42. According to this principle, the ability to substitute a subclass object for a superclass object is characteristic of good design.

此原则表明,子类对象对超类对象的替代能力是优秀设计的重要标志。

43. However, subclasses are not limited to the state and behaviors provided to them by their superclass.

然而,亚纲没被限制在状态和对他们被他们的总纲提供的行为。

44. However, it doesn't warn about catching an exception superclass when only a subclass is thrown.

然而,在你只抛出了一个异常的子类而你却捕获了它的超类时,它也不会警告。

45. After calling the superclass’s onShow, the Component will be visible.

父类的onShow执行过后,Componenet将会显示。

46. Specifically, it will be impossible if the superclass does not provide an accessible parameterless constructor.

特别地,如果超类没有提供一个可访问的、无参数的构造函数的话,那么子类要做到可系列化是不可能的。

47. The topmost level object in the directory. There can be only one, and it acts as the superclass for all other objects.

目录中的最顶级对象。该对象只能有一个,并且充当所有其他对象的超类。

48. direct superclass

直接超类

49. the concept of classes automatically containing the variables and methods defined in their superclass.

类从超类中自动包含已定义的变量和方法的概念。

50. Similarly, a subclass destructor must call its superclass destructor after it has completed its own resource reclamation.

类似地,子类析构函数在它完成其资源释放之后,也要调用基类的析构函数。

51. Class identifier %1 (class name %2) is part of a circular inheritance hierarchy. This class references itself either as a superclass or an auxiliary class. Inheritance ignored.

类别标识符%1(类别名%2)是循环继承的一部分。这个类别参照本身可能是超级类别或一个辅助类别。继承已被忽略。

52. The class was made abstract when its superclass is not abstract.

类别被变成抽象而它的超类别不是抽象。

53. Through the use of inheritance, programmers can reuse the code in the superclass many times.

经过继承的使用,程序设计者能许多次重复使用总纲的码。

54. Given a scenario, develop code that declares and/or invokes overridden or overloaded methods and code that declares and/or invokes superclass or overloaded constructors.

给你一段细节,扩展代码描述或者调用重写或者重载方法,描述或者调用超类和重载的构造函数。

55. Gets or sets a value indicating whether recursive enumeration is requested into all classes derived from the specified superclass.

获取或设置一个值,该值指示是否将递归枚举请求到从指定的超类派生的所有类中。

56. Derived classes that override superclass methods must preserve the pre- and postconditions of the superclass method.

覆盖了基类方法的子类,必须保证基类方法的前置和后置条件得到检查。

57. An attempt was made to reuse an existing method name from a superclass, and the signatures did not match.

试图重用超类现有的方法名称,而签名不匹配。

58. The superclass of the class represented by this object.

该对象表示的类的父类。

59. This abstract class is the superclass of all classes representing an output stream of bytes.

该抽象类是所有表示字节输出流的类的父类。

60. superclass reference

超类参考

61. superclass constructor

超类构造函数

62. superclass procedure

超类过程

63. Class getSuperclass () Returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by this Class.

返回该Class表示的实体(类、接口、简单类型或void)的父类的Class对象。

64. This is all there is to simple inheritance: a subclass is derived from a superclass (or base class) merely by lengthening the structure that represents an object of the superclass.

这就是一个简单继承的全部:子类由父类(或基类)继承而来,方法就是丰富表示父类的数据结构。

65. 8. This is all there is to simple inheritance: a subclass is derived from a superclass (or base class) merely by lengthening the structure that represents an object of the superclass.

这就是一个简单继承的全部:子类由父类(或基类)继承而来,方法就是丰富表示父类的数据结构。收藏指正

66. That is, how a subclass can inherit fields and methods from a superclass.

这就是,一个子类从超类中继承属性和方法。

67. indirect superclass

间接超类

68. superclass of eel-shaped chordates lacking jaws and pelvic fins: lampreys;

鳗鲡状的脊索动物超类,没有咽喉和骨盆鳍;

69. superclass of eel-shaped chordates lacking jaws and pelvic fins: lampreys; hagfishes; some extinct forms.

鳗鲡状的脊索动物超类,没有咽喉和骨盆鳍;七鳃鳗;八目鳗类鱼;一些已灭绝的种类。

70. The default constructor invoked the no-arg constructor of the superclass.

默认构造函数调用父类的无参数构造函数.

71. If the superclass has no default constructor and the subclass constructor does not call another superclass constructor explicitly, then the Java compiler reports an error.

(如果父类没有默认构造函数,子类的构造函数没有显式调用其它父类构造函数,则编译器会报错。)

72. name a superclass with a single word that conveys its purpose in the design.

(用一个单词命名超类,传达它的设计目的),好的例子包括:

73. Name a superclass with a single word that conveys its purpose in the design。

(用一个单词命名超类,传达他的设计目的),好的例子包括:

英语宝典
考试词汇表