A member variable defined in a class can be accessed only by the classes in the same package. Which modifier should be used to obtain the access control?()
- A、 private
- B、 no modifier
- C、 public
- D、 protected
正确答案:B
答案解析:有
微信扫一扫手机做题
A member variable defined in a class can be accessed only by the classes in the same package. Which modifier should be used to obtain the access control?()
微信扫一扫手机做题