Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Inheritance
There is no multiple inheritance in C#.NET. That is, a class cannot be derived from multiple base classes.
True
Correct Answer:
True
← Previous Question
Next Question→
More Questions from
Inheritance
The size of a derived class object is equal to the sum of sizes of data members in base class and the derived class.
Multiple inheritance is different from multiple levels of inheritance.
We can derive a class from a base class even if the base class's source code is not available.
The way a derived class member function can access base class public members, the base class member functions can access public member functions of derived class.
It is illegal to make objects of one class as members of another class.
If a base class contains a member function func(), and a derived class does not contain a function with this name, an object of the derived class cannot access func().
There is no private or protected inheritance in C#.NET.
Creating a derived class from a base class requires fundamental changes to the base class.
A class D can be derived from a class C, which is derived from a class B, which is derived from a class A.
An object of a derived class cannot access private members of base class.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments