99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項選擇題

Given the command line java Pass2 and: 
public class Pass2 { 
public void main(String [] args) { 
int x=6; 
Pass2 p = new Pass2(); 
p.doStuff(x); 
System.out.print(” main x = “+ x);
} 
void doStuff(int x) { 
System.out.print(” doStuffx = “+ x++); 
} 
} 
What is the result?() 

A. Compilation fails.
B. An exception is thrown at runtime.
C. doStuffx = 6 main x = 6
D. doStuffx = 6 main x = 7
E. doStuffx = 7 main x = 6
F. doStuffx = 7 main x = 7

微信掃碼免費搜題