无码高清视频|成人自拍视频|欧美成人午夜无码A片秀色直播|草美女视频网站|美女被操网站在线观看

單項選擇題

public class X {  
public static void main (Stringargs) {  
int a = new int [1]  
modify(a);  
System.out.printIn(a[0]);  
}  
public static void modify (int a) {  
a[0] ++;  
 }  
 }  
What is the result?()  

A. The program runs and prints “0”
B. The program runs and prints “1”
C. The program runs but aborts with an exception.
D. An error “possible undefined variable” at line 4 causes compilation to fail.
E. An error “possible undefined variable” at line 9 causes compilation to fail.

微信掃碼免費搜題