试题详情
单项选择题 Given the following code:    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);     }     }  Which will be output?()    

A、 The value is 8

B、 The value is 9

C、 The value is 10

D、 The value is 11

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题