inheritance
inheritance是什么意思,inheritance怎么读 语音:
英音 [ɪn'herɪtəns]
美音 [ɪnˈhɛrɪtəns]
- 基本解释
- inheritance是什么意思?
"Inheritance"在计算机科学中通常指的是一种编程概念,特别是在面向对象编程(如Java、C#、Python等)中。它表示一种机制,允许一个类(称为子类或派生类)继承另一个类(称为父类或基类)的属性和方法。这意味着子类可以继承父类的所有公有和受保护的成员,并可以选择性地添加或覆盖这些成员。这种机制允许代码的重用,因为子类可以继承父类的功能,而无需重新编写这些功能。此外,"Inheritance"也可以指代生物学中的遗传关系,即一个生物体从其祖先那里继承的特性。
- 速记技巧
- 变化形式
易混淆的单词: Inheritance
- 中文词源
inheritance 继承,遗产
来自inherit,继承。
- 双语例句
用作名词(n.)
- He entered on his inheritance when he was 21.
他21岁时继承了财产。 - Her blue eyes were a paternal inheritance.
她的蓝眼睛是她父亲遗传给她的。 - On the maternal side his inheritance was a happy one.
他从母方接受的遗传是良好的。 - The inheritance kept them afloat for years.
遗产使他们好多年免于经济困难。 - He renounced his claim to the inheritance.
他声明放弃对遗产的要求。 - A dispute over an inheritance forty or fifty years ago led to a family feud which exists to this day.
四五十年前两家为继承财产发生纠葛结下的宿仇持续至今。 - Don Fabrizio, Prince of Salina, sees his new rich neighbours snapping up parcels of land from destitute nobles, and knows that his own inheritance is going to ruin.
萨利纳亲王看到他那有钱的新邻居抢购穷困的贵族的土地,也明白了他自己的继承物将被损坏。
- 常用短语
1. Inheritance pattern:继承模式
2. Subclass inheritance:子类继承
3. Class inheritance:类继承
4. Object inheritance:对象继承
5. Protocol inheritance:协议继承
6. Interface inheritance:接口继承
7. Feature inheritance:特性继承
8. Feature transfer:特性传递
9. Subtype inheritance:子类型继承
10. Subset inheritance:子集继承
这些短语在编程和软件设计中经常被使用,用于描述类或对象之间的继承关系,以及特性或功能的传递和继承。
以上是留学之路(www.lxroad.com)小编为您整理的inheritance单词相关内容。