...的方案,一种特殊情况是同一方法存在于两个超类中,而 这两个超类又具有同一个超类,这种继承称作重复继承(repeated inheritance)即发生重名 冲突。 在多继承中必须解决重复继承问题,解决方法随着语言的不同而不同。
基于24个网页-相关网页
标准 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.
很多类似任务必须单独编写脚本,因为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.
不要对可以继承的样式声明进行重复声明。
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.
不过他们别无选择,他们不能像人类常做的那样,依靠重复父辈做的事,继承传统的职责,工作,这些能激励你坚持下去
应用推荐