I watched Gerald for a while, but I didn't notice him ____ out of the water. A、swimming, comeB、swim, comeC、swim, comingD、swimming, coming
I watched Gerald for a while, but I didn't notice him ____ out of the water.
A、swimming, come
B、swim, come
C、swim, coming
D、swimming, coming
相关考题:
下列选项中,不能输出100个整数的是A.for(int i=0;i100;i++) System.out.println(i);B.int i=0; do{ System.out.println(i); i++; }while(i100);C.int i=0; while(i100){ System.out.printIn(i); i++; }D.int i=0; while(i100){ i++; if(i100)continue; System .out.printIn(i); }
请阅读下面程序 public class ThreadTest { public static void main(String args[]) throws Exception{ int i=0; Hello t=new Hello(); while(true) { System.out.println("Good Moming"+i++); if (i==2 t.isAlive()) { System. out.println("Main waiting for Hello!"); t.join(); //等待t运行结束 } if(i==5) break;} } } class Hello extends Thread { int i; public void run() { while(true){ System.out.println("Hello"+i++); if (i==5) break;}}} 为使该程序正确执行,下划线处的语句应是A.t.sleep()B.t.yield()C.t.interrupt()D.t.start()
请阅读下面程序 public class ThreadTest{ public static void main(String args[])throws Ex- ception{ int i=0; Hello t=new Hello; ; while(true){ System.Out.println("Good Morning"+i++): if(i= =2t.isAlive){ System.out.println("Main waiting for Hel- lo!"); join;//等待t运行结束 } if(i= =5)break;} } } class Hello extends Thread{ int l; public void run{ while(true)( System.Out.println("Hell0"+i++); if(i= =5)break;)))A.t.sleepB.t.yieldC.t.interruptD.t.start
请阅读下面程序 publicclassThreadTest{ publicstaticvoidmain(Stringargs[])throwsException{ inti=0; Hellot=newHello(); ______, while(true){ System.out.println("GoodMoming"+i++); if(i==2t.isAlive()){ System.out.println("MainwaitingforHello!"); t.join();//等待t运行结束 } if(i==5)break;} } } classHelloextendsThread{ inti; publicvoidrun(){ while(true){ System.out.println("Hello"+i++); if(i==5)break;}}} 为使该程序正确执行, 下划线处的语句应是( )。A.t.sleep()B.t.yield()C.t.interrupt()D.t.start()
下列选项中,不能输出100个整数的是( )。A.for(int i=0;i100;i++) System.out.println(i);B.int i=0; do{ System.out.println(i); i++; }while(i100);C.int i=0; while(i100){ System.out.println(i); i++; }D.int i=0; while(i100){ i++; if(i100)continue; System.OUt.println(i); }
下列选项中,不能输出100个整数的是( )。A.for(int i=0;i100;i++) System.out.println(i);B.int i=0; do { System.out.println(i): i++: }while(i100);C.int i=0: while(i100)f System.out.println(i); i++: }D.int i=0: while(i100){ i++: if(i1OO)continue; System.out.println(i); }
下列选项中,不能输出100个整数的是( )。A.for(int i=0;i100;i++) System.out.println(i);B.int i=0; do{ System.out.println(i); i++: }while(i100);C.int i=0: while(i100){System.out.println(i); i++: }D.int i=0: while(i100){ i++: if(i100)continue: System.out.println(i); }
-- Ann is in hospital.-- Oh, really? I __ know. I __ go and visit her.A. didn’t; am going to B. don’t; wouldC. don’t; will D. didn't; will
下列选项中,循环会无限执行的是______。A.int i = 1 ; while (i < 10) System .out .print(“ ” + i) ;B.for(int i = 1 ; i < 10 ;i ++) System .out .print(“ ” + i);C.for(int i = 10 ; i > 0 ;i --) System .out .print(“ ” + i);D.int i = 1 ; while (true) { System .out .print(“ ” + i); i ++ ; if (i > 5) break ;
3、下列循环语句合法的是()A.while(int i<7){ System.out.println(“i is ”+i); i++; }B.int i=1; while(i){ System.out.println(“i is ”+i); }C.int i=0; for(int i=0;i<7;i++){ System.out.println(“i is ”+i); }D.int i=0; do{ System.out.println(“i is ”+i++); if(i==3) continue; }while(i<7);