问题:
下面程序的输出结果是:
public class Test{
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);}}
A、
The value is 8
The value is 9
The value is 10
The value is 11
相关内容