单选题
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.编译时正确但是运行时出错
C.输出为0
D.输出为null
A.ArrayIndexOutOfBoundsException
B.IOException
C.NullPointerException
D.ArithmeticException