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

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

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



Leave a Reply 2

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