Inheritance

Q1: 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.

A False

B True

ANS:B - False

Base class cannot access derived class members since it does not have any knowledge of the derived class.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.