How can I ________ the information room?
A.find out the way to
B.be aware of the direction to
C.gain access to
D.be led to
第1题:
The price you quoted is so high that we () help ()this transaction.
A、can…to cancel
B、can't...canceling
C、can…canceling
D、can't…to cancel
第2题:
A.What
B.Where
C.How
第3题:
请阅读下面程序 publicclassThreadTest{ publicstaticvoidmain(Stringargs[])throwsException{ inti=0; Hellot=newHello(); ______, while(true){ System.out.println("GoodMoming"+i++); if(i==2&&t.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()
第4题:
请阅读下面程序 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.sleep
B.t.yield
C.t.interrupt
D.t.start
第5题:
下列程序的执行结果是______。 class T5 implements Runnable { public void run() { int i = 0; While(i<2) { Thread t = Thread.currentThread(); System.out.println(i + t.getName()); i++ } } } public class Testl6 { public static void main(String[] args) { Thread t1 = new Thread(new T5(), "TS"); t1.start (); Thread t = Thread.currentThread(); for(int i = 0; i<3; i++) { System.out.println(I + t.getName()); if(i == 1 && t1.isAlive()) t.yield(); } } }
A.Omain lmam 0T5 1T5 2main
B.Omain lmam 2main
C.Omain lmain 2main 0T5 1T5
D.Omain lmain 0T5 1T5
第6题:
---- Look! The man at the gate ________ be our headmaster. He is always standing there every morning.
--- - No, it ________ be him. He is holding a meeting in the office now.
A.must, can’t B.must, mustn’t C.can’t, can’t D.can’t, mustn’t