Private members of base class cannot be accessed by derived class member functions or objects of derived class.
Options
A. True
B. False
Correct Answer
True
Inheritance problems
Search Results
1. If a base class and a derived class each include a member function with the same name, the member function of the derived class will be called by an object of the derived class
Multiple inheritance means deriving a class from more than one classes. On the other hand, multiple levels of inheritance means a class has been derived from a base class and the base class itself has been derived from another base class. Multiple inheritance is not permitted in C#.NET.
9. We can derive a class from a base class even if the base class's source code is not available.
We can derive from a base class even if it is present in an assembly.
10. 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.