阿摩線上測驗 登入

試題詳解

試卷:104年 - SCJP 51-100#99391 | 科目:OJCP(SCJP)

試卷資訊

試卷名稱:104年 - SCJP 51-100#99391

年份:104年

科目:OJCP(SCJP)

54. Given: 
1. package test; 
2. 
3. class Target{
 4. public String name = "hello";
 5. }
 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
正確答案:登入後查看