网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
Ships sailing in()are able to receive and print out EGC message.
A
a fixed area or Navarea in any ocean region
B
a Navarea or weather forecast area
C
the designated area or given geographic position
D
anywhere of the world
参考答案
参考解析
解析:
暂无解析
更多 “单选题Ships sailing in()are able to receive and print out EGC message.A a fixed area or Navarea in any ocean regionB a Navarea or weather forecast areaC the designated area or given geographic positionD anywhere of the world” 相关考题
考题
classBirds{publicstaticvoidmain(String[]args){try{thrownewException();}catch(Exceptione){try{thrownewException();}catch(Exceptione2){System.out.print(inner);}System.out.print(middle);}System.out.print(outer);}}结果为:()A.innerB.innerouterC.middleouterD.innermiddleouter
考题
classNumber{publicstaticvoidmain(String[]args){try{System.out.print(Integer.parseInt(forty));}catch(RuntimeExceptionr){System.out.print(runtime);}catch(NumberFormatExceptione){System.out.print(number);}}}结果是什么?()A.fortyB.numberC.runtimeD.编译失败
考题
publicclassPet{privateStringname;publicPet(){System.out.print(1);}publicPet(Stringname){System.out.print(2);}}publicclassDogextendsPet{publicDog(){System.out.print(4);}publicDog(Stringname){super(name);System.out.print(3);}}执行newDog(棕熊”);后程序输出是哪项?()A.33B.13C.23D.123
考题
publicclassBase{publicstaticfinalStringFOO=foo”;publicstaticvoidmain(String[]args){Baseb=newBase();Subs=newSub();System.out.print(Base.FOO);System.out.print(Sub.FOO);System.out.print(b.FOO);System.out.print(s.FOO);System.out.print(((Base)s).FOO);}}classSubextendsBase{publicstaticfinalStringFOO=bar;}Whatistheresult?()A.foofoofoofoofooB.foobarfoobarbarC.foobarfoofoofooD.foobarfoobarfooE.barbarbarbarbarF.foofoofoobarbarG.foofoofoobarfoo
考题
publicclassTwoThreads{privatestaticObjectresource=newObject();privatestaticvoiddelay(longn){try{Thread.sleep(n);}catch(Exceptione){System.out.print(”Error);}}publicstaticvoidmain(String[]args){System.out.print(”StartMain);newThread1().start();delay(1000);Threadt2=newThread2();t2.start();delay(1000);t2.interruptdelay(1000);System.out.print(”EndMain);}staticclassThread1extendsThread{publicvoidrun(){synchronized(resource){System.out.print(”Startl);delay(6000);System.out.print(”End1);}}}staticclassThread2extendsThread{publicvoidrun(){synchronized(resource){System.out.print(”Start2);delay(2000);System.out.print(”End2);}}}}Assumethatsleep(n)executesinexactlymmilliseconds,andallothercodeexecutesinaninsignificantamountoftime.Whatistheoutputifthemain()methodisrun?()
考题
staticvoidtest()throwsRuntimeException{try{System.out.print(”test);thrownewRuntimeException();}catch(Exceptionex){System.out.print(”exception);}}publicstaticvoidmain(String[]args){try{test();}catch(RuntimeExceptionex){System.out.print(”runtime);}System.out.print(”end);}Whatistheresult?()A.testendB.Compilationfails.C.testruntimeendD.testexceptionendE.AThrowableisthrownbymainatruntime.
考题
publicclassX{publicstaticvoidmain(String[]args){try{badMethod();System.out.print(A”);}catch(RuntimeExceptionex){System.out.print(B”);}catch(Exceptionex1){System.out.print(C”);}finally{System.out.print(D”);}System.out.print(E”);}publicstaticvoidbadMethod(){thrownewRuntimeException();}}Whatistheresult?()A.BDB.BCDC.BDED.BCDEE.ABCDEF.Compilationfails.
考题
publicclassX{publicstaticvoidmain(String[]args){try{badMethod();System.out.print(A”);}catch(Exceptionex){System.out.print(B”);}finally{System.out.print(C”);}System.out.print(D”);}publicstaticvoidbadMethod(){thrownewRuntimeException();}}Whatistheresult?()A.ABB.BCC.ABCD.BCDE.Compilationfails.
考题
publicclassX{publicstaticvoidmain(String[]args){try{badMethod();System.out.print(A”);}catch(Exceptionex){System.out.print(B”);}finally{System.out.print(C”);}System.out.print(D”);}publicstaticvoidbadMethod(){}}Whatistheresult?()A.ACB.BDC.ACDD.ABCDE.Compilationfails.
考题
假设有String a="A";char b='A'; char c=65,下面选项中正确的是( )。A.if(a==b){System.out.print("Equal")}B.if(c==b){System.out.print("Equal")}C.if(a==c){System.out.print("Equal")}D.if(c==bB){System.out.print("Equal")}
考题
下列程序段的输出结果是()。voiddoublearithmaticoperator(){inta=10,b=4,c=20,d=6;System.out.print(a+b*c+d);System.out.print(",");System.out.print(a+c%b);System.out.print(",");System.out.println(a++*b+c*-d);}A.860,10,360B.96,10,140C.96,13,140D.860,13,360
考题
Which radio equipment is not necessary for the ships sailing in the sea area A2?A.MF DSCB.VHF radio telephoneC.VHF DSCD.VHF EPIRB
考题
以下程序的运行结果是:( )publicclassIncrement{publicstaticvoidmain(Stringargs[]){inta;a=6;System.out.print( );System.out.print(a++);System.out.print( );}}A.666B.667C.677D.676
考题
下面程序段的输出结果是:int a = 2;System.out.print( a++);System.out.print( a);System.out.print(++a);
A.333B.334C.234D.233
考题
Gradient currents caused indirectly ______.A.by the windB.by the wind or by density differences in adjacent areasC.Coriolis forceD.by ships sailing in the oceans
考题
public class X { public static void main(String [] args) { try { badMethod(); System.out.print(“A”); } catch (RuntimeException ex) { System.out.print(“B”); } catch (Exception ex1) { System.out.print(“C”); } finally { System.out.print(“D”); } System.out.print(“E”); } public static void badMethod() { throw new RuntimeException(); } } What is the result?() A、 BDB、 BCDC、 BDED、 BCDEE、 ABCDEF、 Compilation fails.
考题
单选题public class X { public static void main(String [] args) { try { badMethod(); System.out.print(“A”); } catch (RuntimeException ex) { System.out.print(“B”); } catch (Exception ex1) { System.out.print(“C”); } finally { System.out.print(“D”); } System.out.print(“E”); } public static void badMethod() { throw new RuntimeException(); } } What is the result?()A
BDB
BCDC
BDED
BCDEE
ABCDEF
Compilation fails.
考题
单选题I suggested that Helen ______ him if she does need to get out of her present mess.A
visitsB
visitedC
should visitD
would visit
考题
单选题public class X { public static void main(String [] args) { try { badMethod(); System.out.print(“A”); } catch (Exception ex) { System.out.print(“B”); } finally { System.out.print(“C”); } System.out.print(“D”); } public static void badMethod() { throw new RuntimeException(); } } What is the result? ()A
ABB
BCC
ABCD
BCDE
Compilation fails.
考题
单选题If EGC receiver shares a same antenna with Inmarsat SES, it means that it can receive MSI().A
from any Inmarsat satelliteB
from any appropriate Navtex and EGC stationC
via the satellite the SES is trackingD
from any RCC and coast station
考题
单选题Ships sailing in()are able to receive and print out EGC messages.A
a fixed area or Navarea in any ocean regionB
a Navarea or weather forecast areaC
the designated area or given geographic positionD
anywhere of the world
考题
单选题With the help of modern technology, ships are able to receive automated broadcast of safety messages().A
by day or at nightB
almost round the clockC
somewhat and sometimeD
from sunrise and sunset
考题
单选题No deduction is allowed for the()mess-room in ships having passenger accommodation,which are not also provided with a passengers’ mess-room.A
officerB
officersC
officer'sD
officers’
考题
单选题public class X { public static void main(String [] args) { try { badMethod(); System.out.print(“A”); } catch (Exception ex) { System.out.print(“B”); } finally { System.out.print(“C”); } System.out.print(“D”); } public static void badMethod() {} } What is the result?()A
ACB
BDC
ACDD
ABCDE
Compilation fails.
考题
单选题Place names used on board ships should be those ().A
specified by international authoritiesB
specified by national authoritiesC
on standard mapD
on the chart or Sailing Directions in use
考题
单选题Which statement correctly applies to a situation where a sailing vessel is overtaking a power-driven vessel().A
The power-driven vessel must keep out of the way of the sailing vesselB
A special circumstance situation existsC
The sailing vessel must keep out of the way of the power- driven vesselD
The vessel which has the other vessel to the right must keep out of the way
考题
单选题SOLAS ships shall be equipped with().A
an EGC receiver onlyB
a satellite communication systemC
a HF radio systemD
a VHF with DSC system
考题
单选题The boat was sailing to the north when a terrible strom().A
was breakingB
broke outC
would break out
热门标签
最新试卷