第15題 Given: 11. class Mud{ SCJP 6.0 認證教戰手冊 黃彬華著 碁峰出版 8 12. //insert code here 13. System.out.println("hi"); 14. } 15. } And the following five fragments: public static void main(String...a){ public static void main(String.* a){ public static void main(String... a){ public static void main(String[]... a){ public static void main(String...[] a){ How many of the code fragments, inserted independently at line 12, compile?
(A) 0
(B) 1
(C) 2
(D) 3
(E) 4 F. 5

答案:登入後查看
統計: A(18), B(21), C(65), D(118), E(15) #1157019

詳解 (共 1 筆)

#2782947
方法的參數傳遞,多變數方法的使用npub...
(共 300 字,隱藏中)
前往觀看
10
0