An external consultant must work with some System experts.
A.Right
B.Wrong
C.Doesn't say
第1题:
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.null
B.zero
C.some
D.Compilationfails.
E.Anexceptionisthrownatruntime.
第2题:
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();
第3题:
Youissuedthefollowingcommand:CREATEGLOBALTEMPORARYTABLEadmin_work_area (startdateDATE,enddateDATE,classCHAR(20))ONCOMMITDELETEROWSTABLESPACEtbs_t1;AnindexisthencreatedontheADMIN_WORK_AREAtemporarytable.WhichtwostatementsaretrueregardingtheTBS_T1tablespaceintheabovecommand?()
A.Itstoresonlythetemporarytablebutnotitsindexes.
B.Itstoresboththetemporarytableaswellasitsindexes.
C.Itmustbeanondefaulttemporarytablespaceforthedatabase.
D.Itcanbeadefaultornondefaulttemporarytablespaceforthedatabase.
E.Itmustbethedefaulttemporarytablespaceoftheuserwhoissuesthecommand.
第4题:
A.null
B.zero
C.some
D.Compilationfails.
E.Anexceptionisthrownatruntime.
第5题:
A.Must; needn’t
B.Can; can’t
C.May; mustn’t
D.Can; mustn’t
第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