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

單項選擇題

public class WhileFoo { 
public static void main (String []args)   { 
int x= 1, y = 6; 
while (y--)  {x--;} 
system.out.printIn(“x=” + x “y =” + y); 
} 
}  
What is the result?()  

A. The output is x = 6 y = 0
B. The output is x = 7 y = 0
C. The output is x = 6 y = -1
D. The output is x = 7 y = -1
E. Compilation will fail.

題目列表

你可能感興趣的試題

微信掃碼免費搜題