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
題解
protected修飾子可以使成員「能在同一個套件內自由存取,不同的套件需要有繼承關係才能存取」。