c#c#继承窗体_C#继承能力问题和解答 套装1

c#c#继承窗体

1) There are following statements are given below, which of them are correct about inheritance in C#.NET?
  1. Inheritance is a mechanism to create a class with existing features of another class.

  2. Inheritance is an important concept OOP's

  3. It does not support reusability.

  4. Inheritance does not support in C#.NET

Options:

  1. Only B

  2. Only C

  3. A and B

  4. Only D

Answer & Explanation

Correct answer: 3
A and B

The A and B are correct statements about inheritance in C#.NET.

1)下面给出了以下语句,其中哪些对于C#.NET中的继承是正确的?
  1. 继承是一种创建具有另一个类的现有功能的类的机制。

  2. 继承是OOP的重要概念

  3. 它不支持可重用性。

  4. C#.NET不支持继承

选项:

  1. 只有B

  2. 只有C

  3. A和B

  4. 只有D

答案与解释

正确答案:3
A和B

A和B是有关C#.NET中继承的正确说明。

2) There are the following options are given below, which of them are used for reusability in C#.NET?
  1. Inheritance

  2. Containership

  3. Polymorphism

  4. Encapsulation

Options:

  1. Only A

  2. Only B

  3. A and B

  4. C and D

Answer & Explanation

Correct answer: 3
A and B

The A and B are correct statements about inheritance in C#.NET.

2)下面给出了以下选项,其中哪些用于C#.NET的可重用性?
  1. 遗产

  2. 货柜船

  3. 多态性

  4. 封装形式

选项:

  1. 只有一个

  2. 只有B

  3. A和B

  4. C和D

答案与解释

正确答案:3
A和B

A和B是有关C#.NET中继承的正确说明。

3) A class whose features are inherited by other class is known as?
  1. Superclass

  2. Subclass

  3. Abstract class

  4. Concrete class

Options:

  1. Superclass

  2. Subclass

  3. Abstract class

  4. Concrete class

Answer & Explanation

Correct answer: 1
Superclass

A class whose features are inherited by another class is known as a superclass.

3)其功能被其他类继承的类称为?
  1. 超类

  2. 子类

  3. 抽象类

  4. 具体课

选项:

  1. 超类

  2. 子类

  3. 抽象类

  4. 具体课

答案与解释

正确答案:1
超类

其功能被另一个类继承的类称为超类。

4) A class that inherits features of another class is known as?
  1. Objects are created with a default name, we cannot assign a name to the objects.

  2. Small size objects are created in the heap segment.

  3. Class is a reference type.

  4. We can create user define classes to implement the functionality.

Options:

  1. Superclass

  2. Derived class

  3. Parent class

  4. Base class

Answer & Explanation

Correct answer: 2
Derived class

A class that inherits features of another class is known as derived class.

4)继承另一个类的功能的类称为?
  1. 使用默认名称创建对象,我们无法为对象分配名称。

  2. 在堆段中创建了小型对象。

  3. 类是引用类型。

  4. 我们可以创建用户定义的类来实现功能。

选项:

  1. 超类

  2. 派生类

  3. 家长班

  4. 基类

答案与解释

正确答案:2
派生类

继承另一个类的功能的类称为派生类。

5) In the context of inheritance, a superclass is also known as?
  1. Base class

  2. Parent class

  3. Child class

  4. Derived class

Options:

  1. Only A

  2. Only B

  3. Only C

  4. A and B

Answer & Explanation

Correct answer: 4
A and B

In C#.Net, in the context of inheritance, a superclass is also known as Base class and Parent class.

5)在继承的上下文中,超类也称为?
  1. 基类

  2. 家长班

  3. 儿童班

  4. 派生类

选项:

  1. 只有一个

  2. 只有B

  3. 只有C

  4. A和B

答案与解释

正确答案:4
A和B

在C#.Net中,在继承的上下文中,超类也称为基类和父类。

翻译自: https://www.includehelp.com/dot-net/csharp-inheritance-aptitude-questions-and-answers-1.aspx

c#c#继承窗体

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值