Prev Question
Next Question

The protected modifier on a Field declaration within a public class means that the field
______________.

A.
Cannot be modified

B.
Can be read but not written from outside the class

C.
Can be read and written from this class and its subclasses only within the same package

D.
Can be read and written from this class and its subclasses defined in any package

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *