试题详情
单项选择题 package test; class Target{ public String name="hello"; } What can directly access and change the value of the variable name?()

A、any class

B、only the Target class

C、any class in the test package

D、any class that extends Target

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题