• Overriding methods in a parent class is not limited to the constructor.

    中的重写方法不仅局限于构造函数。

    youdao

  • Although there maybe a little more overhead with regards to overriding methods, it is important to keep the test writer concentrated on what is happening.

    尽管对于重写方法可能一点开销,但编写测试专注于正在发生的事情很重要的。

    youdao

  • Static methods cannot be overridden but can be hidden if they are not final (Read about Overriding vs Hiding here).

    静态方法不能覆盖如果不是决定性的则可以隐藏

    youdao

  • You literally cannot compile this class without overriding these methods.

    如果不覆盖这些方法根本无法编译此类

    youdao

  • It is essential that the handler invoke methods in the superclass rather than methods in the overriding module (see Listing 9).

    处理程序必须调用超类中的方法而是重写模块中的方法(清单9所示)。

    youdao

  • Rather than designing a policy from scratch, you're advised to use the existing default policy (which should fulfill most requirements), overriding some methods to fit your specific needs.

    与其从头开始设计策略,我建议您倒不如现有缺省策略(应该可以满足大部分需求)、同时覆盖一些方法适应特定需求。

    youdao

  • The xmllib works by the application programmer overriding the class XMLParser, and providing methods to handle document elements such as specific or generic tags, or character entities.

    应用程序员使用xmllib可以覆盖xmlparser提供处理文档元素(特定类属标记,或字符实体)的方法

    youdao

  • If you are going to be adding or overriding several methods at once, Listing 13 shows you how to define the new methods in bulk.

    如果准备一次性添加重写多个方法清单13展示了如何方式定义方法?

    youdao

  • In most cases, this entails just subclassing one of the framework classes, and overriding one or more hook methods as needed, depending how unique or complex your requirements are.

    多数情况下这个结构仅仅根据需求独特性惟一性对其中框架划分子类,并根据需要覆盖一个多个hook方法

    youdao

  • Here I subclass ExprEditor in my own VerboseEditor, overriding three of the base class methodsall named edit , but with different parameter types.

    这里自己的VerboseEditor中派生了ExprEditor子类重写了三个基本方法——它们的名字edit但是不同的参数类型。

    youdao

  • A handler has to be created for these events by either implementing an interface or extending the DefaultHandler class and overriding its methods as needed.

    必须通过实现接口或者扩展DefaultHandler根据需要重写方法创建这些事件handler

    youdao

  • The Template Method pattern defines the skeleton of an algorithm in a base class, using abstract methods and overriding to defer individual details to child classes.

    TemplateMethod模式定义算法骨架使用抽象方法覆盖具体细节放到子类中

    youdao

  • I set up the compiler so I have to specify the override annotation so as to clarify which methods are overriding base class methods.

    编译器进行了设置,所以必须指定override注释以便指明哪些方法覆盖类的方法。

    youdao

  • Now, I am responsible for training new staff, but you keep overriding my authority by trying to pose your methods.

    现在负责员工培训但是老是提出的方法,凌驾在权利之上。

    youdao

  • You can save changes to the cached data by overriding two methods.

    可以两个方法将变更储存至快资料

    youdao

  • Encourages the creation of finer-grained methods to simplify overriding.

    鼓励创建细化方法简化重载

    youdao

  • This enables you to allow classes to derive from your class and prevent them from overriding specific virtual methods or properties.

    可让允许类别衍生类别防止这些类别覆写特定虚拟方法属性

    youdao

  • This enables you to allow classes to derive from your class and prevent them from overriding specific virtual methods or properties.

    可让允许类别衍生类别防止这些类别覆写特定虚拟方法属性

    youdao

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

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

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