Solved

Which Statement Is True When a Base Class Has Protected

Question 39

Multiple Choice

Which statement is true when a base class has protected instance variables


A) A derived class object can assign an invalid value to the base class's instance variables, thus leaving the object in an inconsistent state.
B) Derived class methods are more likely to be written so that they depend on the base class's data implementation.
C) We may need to modify all the derived classes of the base class if the base class implementation changes.
D) All of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents