×

C# Tutorial

Basics of .Net

C# Basics

C# Fundamentals

C# Operators

C# Loops

C# Type Conversions

C# Exception Handling

C# String Class

C# Arrays

C# List

C# Stack

C# Queue

C# Collections

C# Character Class

C# Class and Object

C# Namespaces

C# Delegates

C# Constructors

C# Inheritance

C# Operator Overloading

C# Structures

C# File Handling

C# Convert.ToInt32()

C# Int32 (int) Struct

C# DateTime Class

C# Uri Class

C# Database Connectivity

C# Windows

C# Other Topics

C# Q & A

C# Programs

C# Find O/P

C# Inheritance Aptitude Questions and Answers | Set 2

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

1) In the context of inheritance, a subclass is also known as?
  1. Base class
  2. Parent class
  3. Child class
  4. Derived class

Options:

  1. Only B
  2. Only C
  3. A and B
  4. C and D

2) There are the following options are given below, which of them should be used to implement a 'kind of' relationship between two entities?
  1. Containership
  2. Encapsulation
  3. Inheritance
  4. Polymorphism

Options:

  1. Only A
  2. Only B
  3. Only C
  4. Only D

3) There are following options are given below, which of them should be used to implement a 'Has a' relationship between two entities?
  1. Containership
  2. Encapsulation
  3. Inheritance
  4. Polymorphism

Options:

  1. Only A
  2. Only B
  3. Only C
  4. Only D

4) In the case of inheritance, which members of the parent class can be, access to the child class members?
  1. Private
  2. Protected
  3. Static
  4. Public

Options:

  1. Only A
  2. Only B
  3. A and C
  4. B and D

5) There are following statements are given below, which of them are correct about inheritance in C#.NET?
  1. A child class object contains the entire parent class member.
  2. Inheritance can extend the parent class functionality.
  3. Inheritance cannot extend the parent class functionality.
  4. A child class may not be able to access all the parent class members.

Options:

  1. Only A
  2. Only B
  3. Only C
  4. A, B and D



Advertisement
Advertisement


Comments and Discussions!

Load comments ↻


Advertisement
Advertisement
Advertisement

Copyright © 2025 www.includehelp.com. All rights reserved.