itgle.com
更多“There is no point to try to change his mind once he is determined to carry out the pl ”相关问题
  • 第1题:

    现有: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.innerouter

    B.middleouter

    C.innermiddleouter

    D..编译失败


    参考答案:C

  • 第2题:

    staticvoidtest(){try{Stringx=null;System.out.print(x.toString()+);}finally{System.out.print(finally);}}publicstaticvoidmain(String[]args){try{test();}catch(Exceptionex){System.out.print(”exception);}}Whatistheresult?()

    A.null

    B.finally

    C.nullfinally

    D.Compilationfails.

    E.finallyexception


    参考答案:E

  • 第3题:

    You are signing on a deck officer,who will be designated as one of the GMDSS operators,before sailing foreign.Which statement is TRUE ________.

    A.He/she must have an STCW certificate endorsed as“Valid for Service on Vessels Operating in the GMDSS System”

    B.He/she must present either an FCC-issued license or a Coast Guard-issued license

    C.You must consult the“List of Qualifications”on the reverse of his/her FCC-issued license

    D.His/her Merchant Mariners Document must have an added endorsement as “Radio Electronics Officer”


    正确答案:A

  • 第4题:

    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.testend

    B.Compilationfails.

    C.testruntimeend

    D.testexceptionend

    E.AThrowableisthrownbymainatruntime.


    参考答案:D

  • 第5题:

    publicclassTest{publicstaticvoidaMethod()throwsException{try{thrownewException();}finally{System.out.println(finally”);}}publicstaticvoidmain(Stringargs[]){try{aMethod();}catch(Exceptione){System.out.println(exception”);}System.out.println(finished”);}}Whatistheresult?()

    A.finally

    B.exceptionfinished

    C.finallyexceptionfinished

    D.Compilationfails.


    参考答案:C

  • 第6题:

    The working parent is not willing to listen to her (his) four-year-old child talking about hissandbox games because she (he) is___________.

    A.boring
    B.very tired
    C.busy
    D.angry

    答案:B
    解析:
    通读第四段,注意短语“fartoo beaten down”,可知父母每天工作非常辛苦和疲惫。所以和孩子的交流沟通少了。正确答案为B。A、C、D都不符合题意。