Multiple Choice
private fields of a base class can be accessed in a derived class
A) by calling private methods declared in the base class
B) by calling public or protected methods declared in the base class
C) directly
D) All of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q35: An advantage of inheritance is that:<br>A) all
Q36: The protected members of a class may
Q37: When a derived class constructor calls its
Q38: To avoid duplicating code (and possibly errors),use
Q39: How can a derived class call a
Q41: A base class's constructors are inherited into
Q42: Every object of a base class is
Q43: A key to improving the software development
Q44: Multiple inheritance,widely used in C#,is the process
Q45: When a program creates a derived-class object,the