用()修饰的成员变量可以被其他包中的子类访问,但是不能被同一包中的非子类访问。
A.public
B.protected
C.default
D.private
正确答案:protected
猜你喜欢