go top

重复继承

网络释义

  repeated inheritance

...的方案,一种特殊情况是同一方法存在于两个超类中,而 这两个超类又具有同一个超类,这种继承称作重复继承(repeated inheritance)即发生重名 冲突。 在多继承中必须解决重复继承问题,解决方法随着语言的不同而不同。

基于24个网页-相关网页

有道翻译

重复继承

Repeated inheritance

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句原声例句

  • 标准 MBean 约定使得接口依赖实现而且代表这个系统继承层次出现不必要的重复

    The standard MBeans convention would make the interfaces depend on the implementations and represents a needless duplication of the inheritance hierarchy for this system.

    youdao

  • 很多类似任务必须单独编写脚本因为Ant缺乏循环继承条件处理支持因而构建代码出现重复以致产生冗余代码。

    Many similar tasks must be scripted separately because ant lacks support for loops, inheritance, and conditional processing; therefore, build code is duplicated and is sometimes redundant.

    youdao

  • 不要可以继承样式声明进行重复声明。

    Don't duplicate style declarations that can be inherited.

    youdao

更多双语例句
  • Now, they have no choice, they cannot rely as human beings typically do on just doing what your parents did, just inheriting a tradition that functions, that works, that keeps you going.

    不过他们别无选择,他们不能像人类常做的那样,依靠重复父辈做的事,继承传统的职责,工作,这些能激励你坚持下去

    耶鲁公开课 - 古希腊历史简介课程节选

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

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

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