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
Q32: A base class's constructors are inherited into
Q33: When a derived-class member overrides a base-class
Q34: A method must be declared
_ for it
Q35: Using protected instance variables can cause derived-class
Q36: A "copy-and-paste" approach is a simple and
Q38: The first task of any derived-class constructor
Q39: Which statement is true when a base
Q40: Derived classes provide the functionality and features
Q41: A base class is often designed by
Q42: When creating derived classes,you must use discretion
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents