单选题 Java
题号 #153847

下列程序的输出结果是 
public class fff 
{  
void printValue(int m) 
{  
do { System.out.println("The value is"+m);}  
while( --m > 10 ) 
}  
public static void main(String arg[]) 
{  
int i=10;  
Test t= new Test();  
t.printValue(i);  
}  
}

进入在线模考

参考答案

C

答案解析

暂无解析

你可能感兴趣的试题

A.实例变量是类的成员变量 
B.实例变量用关键字static声明 
C.在方法中定义的局部变量在该方法被执行时创建 
D.局部变量在使用前必须被初始化
A.ArrayIndexOutOfBoundsException 
B.IOException 
C.NullPointerException 
D.ArithmeticException
找试题 · 找答案 · 找资料 在线模考