Prefer Defining and Implementing Interfaces to Inheritance.
定义并实现接口优于继承类型。
Due primarily to inheritance, he was considered one of the richest in his native Virginia.
由于继承遗产,他成为了弗吉尼亚州最富有的人。
Some people may say it's only half of a man's, but they have the right to inheritance.
有些人可能会说,那只不过是男人的一半,但她们毕竟是享有财产继承权的。
The third Chapter discusses the modern lyrics to inheritance and reconstruction the classical poetry imagery.
第三章主要论述了现代歌词对古典诗词意象的承继与重构。
Article 6 The right to inheritance or legacy of a competent person shall be exercised on his behalf by his statutory agent.
第六条无行为能力人的继承权、受遗赠权,由他的法定代理人代为行使。
Other languages would have to resort to Inheritance for this, ie. define the method in a class and force users to extend that.
其他编程语言可能要使用继承才能做到:比如在类中定义方法并强迫用户扩展这个方法。
Haemoglobin disorders are genetic blood diseases due to inheritance of mutant haemoglobin genes from both, generally healthy, parents.
血红蛋白疾患是遗传性血液病,由通常健康的父母所遗传的血红蛋白突变基因所导致。
Multiple dispatch does not merely generalize polymorphism, it also provides a more flexible alternative to inheritance in many contexts.
多分派不仅仅泛化了多态性,它还在许多上下文中提供了更加灵活的继承方式。
The limb-girdle muscular dystrophies are divided into two types according to inheritance pattern, type 1 is autosomal dominant and type 2 is autosomal recessive.
目前根据遗传方式分为1型(常染色体显性)和2型(常染色体隐性) ,每一型根据不同基因缺陷又分为许多亚型。
This article offers some insights into the behavior of IBM's WebSphere JAX-RPC compliant Web services tooling and runtime, as it relates to inheritance in the data model.
本文深入研究了与ibm的WebSphereJAX - RPC兼容的Web服务工具和运行时的行为,因为它与数据模型中的继承有关。
One of the characteristics of object_oriented software is the complex dependency that may exist between classes due to inheritance, association and aggregation relationships.
面向对象软件的一个突出特点就是存在于类间的复杂依赖关系:继承、聚合和关联。
She feared losing her inheritance to her stepmother.
她担心她的遗产会落到继母的手里。
Some fool even themselves, until some life event—a layoff, an empty nest, an inheritance that frees them to spend time as they like—jolts them into taking stock of their true natures.
有些人甚至欺骗了自己,直到生活中发生了一些事情——失业、空巢、一笔可以让他们自由支配时间的遗产——让他们开始审视自己的本性。
Moses admonishes the Israelites not to suppose that their inheritance of the land of Canaan is due to their own powers.
摩西警告以色列人,不要想当然地认为他们继承迦南之地是凭借了自己的力量。
The title passes by inheritance to the eldest son.
这一头衔按世袭传给长子。
The inheritance enabled him to indulge his passion for art.
这笔遗产使他能够尽情投入他热爱的艺术。
Suddenly he wanted to have his own inheritance, and be able to be his own master.
突然,他想要拥有自己的产业,成为自己的主人。
The inheritance of the halothane gene was shown to be in agreement with Mendel's law of segregation.
氟烷基因的遗传与孟德尔的分离定律是一致的。
Therefore, it uses the usual object-oriented concepts, such as inheritance, to realize various types of widgets.
所以,它使用常见的面向对象概念(例如继承)来实现不同的部件。
C + + USES multiple inheritance to provide a similar capability, but with ugly complications.
C+ +使用多种继承来提供与之类似的功能,但是非常复杂。
We can also use encapsulation and inheritance to add new behavior to existing pages and components.
我们还可以使用封装和继承给现有页面和组件添加新的行为。
It also hurts the design of your domain classes because this utility class must now sit at the top of your object hierarchy, not allowing you to use inheritance to consolidate common behavior.
这还不利于域类的设计,因为这个实用类现在必须位于对象层次结构的顶层,不允许您使用继承来整合常见行为。
I like URLs, but want a straightforward way to discover important inheritance relationships.
我喜欢url,但是它需要一个直接明了的方式去发现重要的继承关系。
To model inheritance, use the generalization relationship provided by the UML modeling palette, which is drawn from the inherited class to the base class.
要建模继承,可以利用由uml建模面板提供的一般化关系,它是从继承类到基础类而绘制出来的。
These are the men the LORD commanded to assign the inheritance to the Israelites in the land of Canaan.
这些人就是耶和华所吩咐,在迦南地把产业分给以色列人的。
They said, "When the LORD commanded my lord to give the land as an inheritance to the Israelites by lot, he ordered you to give the inheritance of our brother Zelophehad to his daughters.
说,耶和华曾吩咐我主拈阄分地给以色列人为业,我主也受了耶和华的吩咐将我们兄弟西罗非哈的产业分给他的众女儿。
Inheritance is a difficult habit to start using because often, the analysis to build proper inheritance models can take a lot of time.
继承是一个很难入手的习惯,因为构建正确继承模型的分析通常需要花费大量时间。
To reuse object-oriented code, you extract the target code into another class, then use inheritance to access it.
要重用面向对象的代码,您要将目标代码提取(extract)到另一个类中,然后再用继承来访问它。
To reuse object-oriented code, you extract the target code into another class, then use inheritance to access it.
要重用面向对象的代码,您要将目标代码提取(extract)到另一个类中,然后再用继承来访问它。
应用推荐