• Scala supports single inheritance, not multiple inheritance.

    Scala支持继承支持继承。

    youdao

  • One benefit of using interfaces is that they simulate multiple inheritance.

    使用接口好处模拟继承

    youdao

  • Simultaneously, the problem of multiple inheritance in class hierarchy is considered.

    同时,讨论了模糊层次多重继承问题

    youdao

  • You can think of mix-ins as multiple inheritance without the multiple-inheritance headaches.

    可以把mix - in看成多重继承,但是它没有多重继承麻烦。

    youdao

  • C + + USES multiple inheritance to provide a similar capability, but with ugly complications.

    C+ +使用多种继承提供之类似的功能但是非常复杂

    youdao

  • Multiple inheritance supports a much richer inheritance hierarchy for the problems that require it.

    如果需要,多重继承支持丰富继承层次结构

    youdao

  • A parent class to extend function from (plus any "mix-in" classes to simulate multiple inheritance).

    用于扩展函数(以及模拟多个继承的“混合)。

    youdao

  • Unfortunately, tossing out private and multiple inheritance has cost us dearly in terms of code reuse.

    遗憾是,彻底放弃私有继承多重继承会使我们代码重用方面付出昂贵的代价。

    youdao

  • Objective-C only supports single inheritance between classes, while UML supports multiple inheritances.

    Objective - C支持之间单一继承UML支持多重继承

    youdao

  • How does Java 8' new default interface model works (incl. diamond, multiple inheritance, and precedence)?

    如何新的默认界面模型作品(包括钻石多重继承优先级)?。

    youdao

  • Multiple inheritance, on the other hand, was commonly held as a necessary element of object-oriented programming.

    一方面,多重继承往往视为面向对象编程必备要素

    youdao

  • Because Python supports multiple inheritance, abstraction can be taken to a level of complexity that is quite unhealthy.

    由于Python支持多重继承抽象可以达到相当有害复杂程度

    youdao

  • They are comparable to C++ multiple inheritance constructs but omit the nasty side-effect known as the diamond syndrome.

    类似于C++中继承概念却没有众所周知的diamond syndrome副作用

    youdao

  • On the other hand, allowing for multiple inheritance in a programming language results in tremendous semantic complexity.

    一方面,编程语言允许多重继承结果语义极其复杂。

    youdao

  • However, multiple inheritance being used only for interface implementation was thought to alleviate this problem somewhat.

    不过多重继承只能在被认为可以减轻一问题接口实现中。

    youdao

  • Behaviors do not provide true "multiple inheritance" support for core language features like abstract classes and interfaces.

    行为提供真的多重继承核心语言特点抽象接口支持

    youdao

  • Class abstractions are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.

    Class抽象子类一种灵活的基于mixin组合机制(它可作为多重继承的简单替代方案)来扩展

    youdao

  • OWL permits multiple inheritance, allows for many classes to share the same property, and allows properties themselves to inherit from one another.

    OWL允许多重继承允许许多分享相同属性允许属性之间相互继承

    youdao

  • Multiple inheritance might save us from the latter problem, but it would also lead us back to virtual inheritance, which we definitely want to avoid.

    多重继承可能使我们不必处理后续问题重新我们引向虚拟继承,而这是绝对避免的。

    youdao

  • For example, a constraint may disallow multiple inheritance, or it may require that a class must have a particular type of attribute. This means that.

    例如限制可能不允许多重继承或者是它可能需要一个必须具备一个特殊属性类型

    youdao

  • It was employed in the mainstream in CLOS where it was actually a design pattern to try to control the unwieldiness of the multiple inheritance of that language.

    用于CLOS主流实际上它在其中一种设计模式尝试控制这种语言多重继承所带来的不便。

    youdao

  • Traditional object-oriented programming, especially in languages like Python that allow multiple inheritance, attempt to modularize concerns with an inheritance hierarchy.

    传统面向对象编程尤其是诸如python之类允许多重继承语言中,都会试图使用一个继承层次结构来模块化关注事项

    youdao

  • Whenever you have found a multiple inheritance relationship in an object-oriented design, be sure that no base class is actually a derived class of another base class.

    如果一个面向对象设计发现多重继承关系确保没有哪个实际上另一个基类派生类。

    youdao

  • Ruby and Scala are two newer languages that have taken the middle course on multiple inheritance - as I discussed last month when introducing Scala's traits (see Resources).

    RubyScala两种较新的语言采取多重继承的这种方法—正如上期介绍Scala的特征所讨论的那样(参见参考资料)。

    youdao

  • Users must understand the differences and interactions between metaclass programming and traditional object-oriented programming (under both single and multiple inheritance).

    用户必须理解编程传统面向对象编程不同点和相同点(继承继承)。

    youdao

  • Since Domain components are represented by interfaces and not by classes, you can use multiple inheritance to combine several previously defined components into a new one.

    由于组件通过接口展现不是通过可以继承组合几个之前定义的组件新的组件。

    youdao

  • Offering both an interface and an abstract class is redundant, but I find it convenient: in most cases, I only need the abstract class, but the interface enables multiple inheritance.

    同时提供接口抽象多余的,发现这样很方便大多数情况下,我需要抽象类,但接口支持继承性

    youdao

  • If I recall it right, Stroustroup wrote in "The Design and Evolution of C++" that he delayed a standard library in favor of multiple inheritance. I would have enjoyed it more the other way.

    如果记得没错的话,Stroustroup“C++设计演化”一书中说到应该一个标准程序库支持继承我等福消受啊。

    youdao

  • Multiple dispatch does not merely generalize polymorphism, it also provides a more flexible alternative to inheritance in many contexts.

    分派不仅仅泛化了多态性许多上下文中提供更加灵活继承方式

    youdao

  • Multiple dispatch does not merely generalize polymorphism, it also provides a more flexible alternative to inheritance in many contexts.

    分派不仅仅泛化了多态性许多上下文中提供更加灵活继承方式

    youdao

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

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

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