单项选择题

现有: 
class WhileTests  { 
public  static void main (String  []  args)  {     
int X=5; 
while (++x<4)  {     
--x;    
} 
System.out.println( "x="+x);     
}     
}
结果是什么?()     

A.X=6
B.X=5
C.X=2
D.编译失败

相关考题