多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题