An external consultant must work with some System experts.
A.Right
B.Wrong
C.Doesn't say
--Must we finish our homework now? --No, you ______. You _______ finish it after school.A.needn't , mayB.mustn't , mayC.can't , canD.needn't , must
点击查看答案
“Must I finish my homework now?” “No, you() . But you() finish it this evening. ”A. mustn’ t…mustB. needn’ t…mustC. can’ t…canD. can’ t…must
There are ______ books in your bag. But there aren’t ______ pens in it.A、some, someB、any ,someC、some, anyD、any,any
classWorkimplementsRunnable{Threadother;Work(Threadother){this.other=other;}publicvoidrun(){try{other.join();}catch(Exceptione){}System.out.print("afterjoin");}}classLaunch{publicstaticvoidmain(String[]args){newThread(newWork(Thread.currentThread())).start();System.out.print("afterstart");}}结果为:()A.afterjoinB.afterstartC.afterjoinafterstartD.afterstartafterjoin
public static void main(String[]args){String str="null";if(str==null){System.out.println("null");}else(str.length()==0){System.out.println("zero");}else{System.out.println("some");}}What is the result?()A.nullB.zeroC.someD.Compilationfails.E.Anexceptionisthrownatruntime.
publicstaticvoidmain(String[]args){Stringstr=null?;if(str==null){System.out.println(”null”);}else(str.length()==0){System.out.println(”zero”);}else{System.out.println(”some”);}}Whatistheresult?()A.nullB.zeroC.someD.Compilationfails.E.Anexceptionisthrownatruntime.
GiventhatastaticmethoddoIt()inaclassWorkrepresentsworktobedone,whatblockofcodewillsucceedinstartinganewthreadthatwilldothework?CODEBLOCKa:Runnabler=newRunnable(){publicvoidrun(){Work.doIt();}};Threadt=newThread(r);t.start();CODEBLOCKb:Threadt=newThread(){publicvoidstart(){Work.doIt();}};t.start();CODEBLOCKc:Runnabler=newRunnable(){publicvoidrun(){Work.doIt();}};r.start();CODEBLOCKd:Threadt=newThread(newWork());t.start();CODEBLOCKe:Runnablet=newRunnable(){publicvoidrun(){Work.doIt();}};t.run();