MULTIPLE INHERITANCE in Chinese translation

['mʌltipl in'heritəns]
['mʌltipl in'heritəns]
多继承

Examples of using Multiple inheritance in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
If you understand how multiple inheritance is implemented, you will be able anticipate these consequences and deal with them in your code.
如果你能明白多重继承是如何实现的,那么你自己就能够预见到这些影响,进而能够在你的代码中很好地应对它们。
Perl supports single or multiple inheritance hierarchies, encapsulation, and polymorphism, but only through external modules or programmer agreement.
Perl支持单一继承或多继承、封装以及多态,但这仅仅是通过外部模块或程序员的协同来实现的。
Other languages have addressed this with traits or full-blown multiple inheritance, but we did not want to fundamentally change the Java object model.
其他语言已经通过特征(trait)或全面多重继承解决了这个问题,但我们不希望从根本上改变Java对象模型。
For example, all classes inherit from object, so any case of multiple inheritance provides more than one path to reach object.
例如,所有的new-style类继承自object,所以任意的多继承总是会有多于一条继承路径到达object。
C++ supports multiple inheritance, and Java allows a class to implement multiple interfaces.
LC++支持多重继承,而Java允许类实现多重接口。
Item 24: Understand the costs of virtual functions, multiple inheritance, virtual base classes, and RTTI?
条款24:理解虚拟函数、多继承、虚基类和RTTI所需的代价<?
To reduce the complexity and simplify the language, multiple inheritance is not supported in java.
为了降低复杂性并简化语言,Java中不支持多重继承
Experienced programmers know to avoid this evil because they know that deep inside the dark forest of inheritance is the evil queen, multiple inheritance.
有经验的程序员知道要避免这种邪恶,因为他们知道,黑暗森林深处有着多重继承这个邪恶的皇后。
But all new style classes inherit from object, therefore diamonds are unavoidable and inconsistencies shows up in every multiple inheritance graph.
但是所有的新式类都继承自object,因此菱形问题不可避免,在每个多继承中都会出现这种冲突。
C++: I have already mentioned multiple inheritance, virtual base classes, and templates.
C++:我已经提到了多重继承、虚基类和模板。
Interfaces are also considered to be the way Java gains some of the benefits of multiple inheritance without the drawbacks.
接口同样也被认为是Java用来无缺点获取一些多继承好处的方式。
Most of the uses of inheritance can be simplified or replaced with composition, and multiple inheritance should be avoided at all costs.
大多数继承的用途,可以简化或用组合物所取代,并应不惜一切代价避免多重继承
An extended class is always dependent on a single base class, that is, multiple inheritance is not supported.
一个扩充类总是依赖一个单独的基类,也就是说,不支持多继承
Instead I will focus on the common base class, access to the base class, multiple inheritance, interfaces, late binding, and other related topics.
我会把注意力集中在通用基类、基类访问、多重继承、接口、后期绑定以及其它相关的内容。
It does so by implementing its own__getattribute__ method for searching classes in a predictable order that supports cooperative multiple inheritance.
它做到这一点是通过实现自己的__getattribute__()方法,这样就能以可预测的顺序搜索类,并且支持协作多重继承
Although it was not their primary intent, default methods also allow multiple inheritance of behavior(but not state).
虽然它不是他们主要的用意,默认方法还允许多重继承的行为(但不是状态)。
One thing that really surprised me about Go- a supposedly simple language- is that you can even do multiple inheritance.
关于Go,有件事令我很惊讶--这门所谓简单的语言--你甚至可以实现多重继承
Item 24: Understand the costs of virtual functions, multiple inheritance, virtual base classes, and RTTI.
您举报文章:条款二十四:了解virtualfunctions、multipleinheritance、virtualbaseclass、runtimetypeidentification的成本.
Features are already being lined up for C 7.2 and 8.0 including nullable reference types and limited multiple inheritance.
C7.2和8.0的许多新功能已经列入了计划,其中包括空引用类型和有限形式的多重继承
This will allow a tag have more than one parents, something like multiple inheritance in some OOP languages.
这意味着一个标签可以有多个上级,有点类似一些OOP语言中的多继承
Results: 159, Time: 0.0319

Word-for-word translation

Top dictionary queries

English - Chinese