multiple inheritance中文,multiple inheritance的意思,multiple inheritance翻译及用法

2025-09-08 02:45 浏览次数 7

multiple inheritance

英[ˈmʌltipl ɪnˈherɪtəns]美[ˈmʌltəpəl ɪnˈhɛrɪtəns]

多重继承

multiple inheritance 片语

片语

multiple factor inheritance多因子遗传

Multiple Allele Inheritance Hypothesis复等位遗传假设

multiple e inheritance多重继承

multiple gene inheritance多基因遗传

control and multiple-inheritance控制和多重继承

Multiple allele inheritance复等位基因遗传模式

multiple interface inheritance多接口继承

simulated multiple inheritance模拟多重继承

multiple inheritance 例句

英汉例句

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

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

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

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

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

    它类似于c++中多继承的概念,但却没有众所周知的diamondsyndrome副作用。

  • c++ uses multiple inheritance to provide a similar capability, but with ugly complications.

    c++使用多种继承来提供与之类似的功能,但是非常复杂。

  • 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.

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

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

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

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

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

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

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

  • with modules, you can get some of the benefits of multiple inheritance without the sticky complications.

    通过使用模块,可以享受到多重继承的优点而无需面对令人头痛的复杂性。

  • because multiple inheritance of classes is dangerous.

    因为类的多重继承有危险性。

  • 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的主流中,实际上它在其中是一种设计模式,尝试控制这种语言的多重继承所带来的不便。

  • using multiple inheritance in c++ could lead to the problem of multiple copies of a base class for a particular multiply-inheriting class.

    在 c++ 中使用多重继承,对于某个使用了多重继承的特定类而言,可能会使基类出现多个副本,从而导致问题发生。

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

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

  • 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).

    ruby和scala是两种较新的语言,采取了多重继承的这种方法 —正如我在上期介绍scala 的特征时所讨论的那样(参见 参考资料)。

相关热词