1.

In an inheritance chain through which of the following, the base class and its components are accessible to the derived class?(a) Scope resolution operator(:)(b) Class visibility modifiers (public,private etc.)(c) Dot operator (.)(d) All of the mentionedThis question was addressed to me in unit test.The question is from Fundamentals of Inheritance topic in section Object Oriented Concepts of C#

Answer»

Correct CHOICE is (B) Class visibility modifiers (PUBLIC,private etc.)

Easy explanation - None.



Discussion

No Comment Found

Related InterviewSolutions