题目内容:
下列程序的输出结果是( )。 public class Test
{
void printValue(int m)
{
do{
System.out.println("The value is"+m)
}
while(--m>10)
}
public static void main(String args[])
{
int i=10;
Test t=new Test():
t.printValue(i);
}
} A. The value is 8
B.The value is 9
C.The value is 10
D.The value is 11
参考答案:
答案解析: