go top

Method Overriding

  • 方法覆盖
  • 方法重写

专业释义英英释义

  • 对象 - 引用次数:2

    参考来源 - 面向GIS的解释系统

·2,447,543篇论文数据,部分数据来源于NoteExpress

Method overriding

  • abstract: Method overriding, in object oriented programming, is a language feature that allows a subclass or child class to provide a specific implementation of a method that is already provided by one of its superclasses or parent classes. The implementation in the subclass overrides (replaces) the implementation in the superclass by providing a method that has same name, same parameters or signature, and same return type as the method in the parent class.

以上来源于: WordNet

双语例句

  • Method overriding works the same, member visibility works the same, and so on.

    方法覆盖工作方式相同成员可见性的工作方式相同,还有更多相同的地方。

    youdao

  • Because a mixin's parent may be instantiated with a type parameter, there is no way for the type checker to determine all cases of accidental method overriding.

    因为mixin父类可能类型参数实例化因此类型检查器不能确定意外方法覆盖所有情况

    youdao

  • When you finally realize that a method has a parameter wrong, and in fact isn't overriding a method from a superclass, much bitterness can result.

    最后认识方法参数该方法实际上没有覆盖超类中的方法时,可能感到难受

    youdao

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

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

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