Which statement is true when a superclass has protected instance variables?

a. A subclass object can assign an invalid value to the superclass’s instance variables, thus leaving an object in an inconsistent state.
b. Subclass methods are more likely to be written so that they depend on the superclass’s data implementation.
c. We may need to modify all the subclasses of the superclass if the superclass implementation changes.
d. All of the above.

d. All of the above.

Computer Science & Information Technology

You might also like to view...

To calculate the sum of the values in one column multiplied by the sum of the values in another column, you can use a(n) ________ formula

A) logical B) array C) table D) statistical

Computer Science & Information Technology

Information functions provide information about a cell's contents

Indicate whether the statement is true or false.

Computer Science & Information Technology