Home » Aptitude Questions and Answers » C# Aptitude Questions and Answers

C# Inheritance Aptitude Questions and Answers | Set 1

C# Inheritance Aptitude Questions | Set 1: This section contains aptitude questions and answers on C# Inheritance.
Submitted by Nidhi, on April 14, 2020

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

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

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

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

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






Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.