A variable that is declared protected:
Giải thích
Chọn đáp án D
10/25
A variable that is declared protected:
Is visible only in the subclasses (and not in the class it is declared in)
Is visible only in the class it is declared in
Is visible to all classes, but modifiable only in the class where it is declared
Is visible in the class it is declared in, and all of its sub-classes
Chọn đáp án D