• 好些情况下容易发生,比如方法覆盖使用常规参数声明方法时,还有正在进行许多序列化系统也容易发生。

    This can happen easily in cases in which methods are being overridden and the superclass declares the method with generic parameters, or in a system where lots of serialization is going on.

    youdao

  • 字段声明受保护,子类中的方法可能直接访问它们,这样就可能有效地增加层次结构中的耦合

    When fields are declared protected, there is the possibility that methods in subclasses will directly access them, effectively increasing the coupling within a class hierarchy.

    youdao

  • 继承抽象必须实现其父自身声明抽象的所有抽象方法

    A child class that extends an abstract class must implement all abstract methods in its parent or itself be declared abstract.

    youdao

  • 简单地说,方法声明函数

    Put simply, methods are functions declared within a class.

    youdao

  • 必须注意确保EJB远程实现实际实现远程接口声明方法

    Care must be taken to ensure that methods declared in the remote interface are actually implemented in the EJB remote implementation class.

    youdao

  • 清单1包含A SN . 1不同方法声明

    Listing 1 only contains the declarations of the different methods of the ASN.1 class.

    youdao

  • 一些方法声明Private一个很好的做法以便保持代码逻辑位于同时允许用户直接调用方法

    Declaring some methods Private is a good way to keep code and logic inside a class while not allowing it to be called directly by a user.

    youdao

  • class - name完全限定方法()声明

    Class-name is the fully qualified name of the class in which the method is declared (or a subclass thereof).

    youdao

  • 使用引入(Introduction),Aspect可以中添加新的方法变量声明实现一个接口检查异常转换为未检查异常(unchecked exception)。

    Using introduction, aspects can add new methods and variables to a class, declare that a class implements an interface, or convert checked to unchecked exceptions.

    youdao

  • 实现层次结构Scala中的效果是相同的:我们可以方法应用final防止覆盖可应用于声明本身来防止继承。

    Implementation hierarchy works the same way in Scala: We can apply final to the method to prevent a child class from overriding it or to the class declaration itself to prevent derivatives.

    youdao

  • 可以表单创建新的提交按钮把它链接page中的一个方法使用声明清单2

    You can create a new submit button on a form and link the button to a method on your Page class using the declaration shown in Listing 2.

    youdao

  • 这种情况下会将特征定义方法实现字段声明纳入实现特征的person中。

    In this case, it drops the method implementations and field declarations defined in the trait into the class that implements the trait, Person.

    youdao

  • 正如看到的,声明summarize方法声明任何函数的方式一样只不过声明

    As you can see, the summarize method is declared just as any function would be declared, except that is done within a class.

    youdao

  • 清单2中,声明了一个单独静态方法接收String参数(通常称为self但是可以随意为命名),代表我向其中添加方法

    In Listing 2, I declare a single static method that accepts a String parameter (traditionally called self, but you can call it whatever you like) that represents the class I'm adding the method to.

    youdao

  • 继承一种方法通过它,对象可以访问以前精确定义过的中的成员变量函数不用重新声明那些定义

    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.

    youdao

  • 式的合同方法中,前提条件后,条件不变声明任何合同。

    An explicit contract is any contract you declare in a class method, such as a precondition, a postcondition or an invariant.

    youdao

  • 以下简单示例演示声明派生引发事件标准方法

    The following simple example shows the standard way to declare events in a base class so that they can also be raised from derived classes.

    youdao

  • 但是我们依然可以通过反射访问到导出(exports)中的其他内容,像是包可见或者private声明字段方法

    But it still allowed to use reflection to access everything else in an exported package, like package-visible classes or private fields and methods - this was called deep reflection.

    youdao

  • 但是我们依然可以通过反射访问到导出(exports)中的其他内容,像是包可见或者private声明字段方法

    But it still allowed to use reflection to access everything else in an exported package, like package-visible classes or private fields and methods - this was called deep reflection.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定