A. up
B. into
C. of
D. out
第1题:
publicclassSyncTest{privateintx;privateinty;publicsynchronizedvoidsetX(inti)(x=1;)publicsynchronizedvoidsetY(inti)(y=1;)publicsynchronizedvoidsetXY(int1)(setX(i);setY(i);)publicsynchronizedBooleancheck()(returnx!=y;)}Underwhichconditionswillcheck()returntruewhencalledfromadifferentclass?
A.Check()canneverreturntrue.
B.Check()canreturntruewhensetXYiscalledbymultiplethreads.
C.Check()canreturntruewhenmultiplethreadscallsetXandsetYseparately.
D.Check()canonlyreturntrueifSyncTestischangedtoallowxandytobesetseparately.
第2题:
I ()supper when I()someone knocking at the door.
A、made . . . Heard
B、made . . .was heard
C、was making . . . was hearing
D、was making . . . heard
第3题:
YouinstallanewCD-ROMonyourcomputer.Afterinstallingtheappropriatedriversandrestartingthecomputeryounoticethatitisnotworkingcorrectly.Youcheckresourcesandfindoutthatitisnotusing“Automaticresourcesettings”.HowdoyougetyourCDROMtowork?()
A.Check‘UseAutomaticSettings’
B.Updatethedrives
C.Usethewindowstroubleshooter
D.Manuallysettheinterrupt,I/Oport,andmemoryaddresstothatofthehardwaremanufacturersspecifications.
Normally,allthelatesthardwaredevicesareplugandplay.Thereisnoneedtosetthehardwaresettingmanually.Youshouldcheck“useautomaticsettings”.
ThereisnoneedtoupdatethedriveroftheCD-ROM.Windows2000automaticallyinstallsthedriverofCD-ROM.
Windowstroubleshooterisnormallyusedtodiagnosethehardwareproblem.
Ifyouwillmanuallyconfiguretheresourcesettings,thentheremaybepossibilityoftheconflictionwiththeotherhardwareperipherals.
第4题:
publicclassSyncTest(privateintx;privateinty;privatesynchronizedvoidsetX(inti)(x=1;)privatesynchronizedvoidsetY(inti)(y=1;)publicvoidsetXY(int1)(setX(i);setY(i);)publicsynchronizedBooleancheck()(returnx!=y;))Underwhichconditionswillcheck()returntruewhencalledfromadifferentclass?
A.Check()canneverreturntrue.
B.Check()canreturntruewhensetXYiscalledbymultiplethreads.
C.Check()canreturntruewhenmultiplethreadscallsetXandsetYseparately.
D.Check()canonlyreturntrueifSyncTestischangedtoallowxandytobesetseparately.
第5题:
A.@do
B.@for
C.@while
D.@dowhile
第6题: