单选题Which the statement is true?()AThe Error class is a Runtime Exception.BNo exceptions are subclasses of Error.CAny statement that may throw an Error must be enclosed in a try block.Dany statement that may throw an Exception must be enclosed in a try blo

题目
单选题
Which the statement is true?()
A

 The Error class is a Runtime Exception.

B

 No exceptions are subclasses of Error.

C

 Any statement that may throw an Error must be enclosed in a try block.

D

 any statement that may throw an Exception must be enclosed in a try block.

E

 Any statement that may throw an Runtime Exception must be enclosed in a try block.


相似考题
更多“单选题Which the statement is true?()A  The Error class is a Runtime Exception.B  No exceptions are subclasses of Error.C  Any statement that may throw an Error must be enclosed in a try block.D  any statement that may throw an Exception must be enclosed in a”相关问题
  • 第1题:

    Which statement is NOT true concerning the stowage of class 1 explosives ________.

    A.Class 1.1 explosives may be stowed with class 9 dangerous substances

    B.Class 1.4 explosives must be“separated from”a stow of class 5.1 oxidizing materials

    C.Class 1.4 explosives may not be stowed in the same hold with class 6.1 poisons

    D.Class 1.4 explosives must be“separated from”a stow of class 8 corrosive materials


    正确答案:C

  • 第2题:

    Concerning the identification signal for a pilot vessel, in fog, which statement is TRUE?___.

    A.When at anchor, the pilot vessel is only required to sound anchor signals

    B.The identification signal must be sounded any time the pilot vessel is underway

    C.The pilot vessel may only sound the identity signal when making way

    D.All of the above


    正确答案:A
    雾中有关引水船的识别信号,哪句是正确的?当锚泊时,引水船仅被要求鸣放锚泊船信号.

  • 第3题:

    Which statements concerning the switch construct are true?()  

    • A、All switch statements must have a default label.
    • B、There must be exactly one label for each code segment in a switch statement.
    • C、The keyword continue can never occur within the body of a switch statement.
    • D、No case label may follow a default label within a single switch statement.
    • E、A character literal can be used as a value for a case label.

    正确答案:E

  • 第4题:

    Which the statement is true?()

    • A、 The Error class is a Runtime Exception.
    • B、 No exceptions are subclasses of Error.
    • C、 Any statement that may throw an Error must be enclosed in a try block.
    • D、 any statement that may throw an Exception must be enclosed in a try block.
    • E、 Any statement that may throw an Runtime Exception must be enclosed in a try block.

    正确答案:B

  • 第5题:

    Which statement is true?()

    • A、 An anonymous inner class may be declared as final.
    • B、 An anonymous inner class can be declared as private.
    • C、 An anonymous inner class can implement multiple interfaces.
    • D、 An anonymous inner class can access final variables in any enclosing scope.
    • E、 Construction of an instance of a static inner class requires an instance of the enclosing outer class.

    正确答案:D

  • 第6题:

    Evaluate the SQL statement:TRUNCATE TABLE DEPT;Which three are true about the SQL statement? ()

    • A、It releases the storage space used by the table.
    • B、It does not release the storage space used by the table.
    • C、You can roll back the deletion of rows after the statement executes.
    • D、You can NOT roll back the deletion of rows after the statement executes.
    • E、An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will display an error.
    • F、You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate the DEPT table

    正确答案:A,D,F

  • 第7题:

    单选题
    Which statement is TRUE concerning the danger signal?().
    A

    When any vessel fails to understand the intentions of an approaching vessel she must sound the danger signal

    B

    Only the stand-on vessel can sound the danger signal

    C

    Distress signals may be used in place of the danger signal

    D

    The danger signal consists of 4 or more short blasts of the whistle


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    Which statement is TRUE concerning lifeboat gripes?()
    A

    They must be released by freeing a safety shackle

    B

    They should not be released until the boat is in lowering position

    C

    They may be adjusted by a turnbuckle

    D

    They are normally used only with radial davits


    正确答案: D
    解析: 暂无解析

  • 第9题:

    单选题
    Concerning the identification signal for a pilot vessel,in fog,which statement is TRUE?()
    A

    When at anchor,the pilot vessel is only required to sound anchor signals

    B

    The identification signal must be sounded any time the pilot vessel is underway

    C

    The pilot vessel may only sound the identity signal when making way

    D

    All of the above


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    If a magnetic compass is not affected by any magnetic field other than the Earth’s,which statement is TRUE? ()
    A

    Compass error and variation are equal

    B

    Compass north will be true north

    C

    Variation will equal deviation

    D

    There will be no compass error


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    Evaluate the following statement:   Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()
    A

     They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.

    B

     They are evaluated by the first WHEN clause. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.

    C

     They are evaluated by the first WHEN clause. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.

    D

     The INSERT statement would give an error because the ELSE clause is not present for support in case none of the WHEN clauses are true.


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    Which statements concerning the switch construct are true?()
    A

    All switch statements must have a default label.

    B

    There must be exactly one label for each code segment in a switch statement.

    C

    The keyword continue can never occur within the body of a switch statement.

    D

    No case label may follow a default label within a single switch statement.

    E

    A character literal can be used as a value for a case label.


    正确答案: E
    解析: 暂无解析

  • 第13题:

    Which statement is TRUE ________.

    A.Key letters or abbreviations may not be used in GMDSS radio logbooks under any circumstance

    B.Urgent communications do not need to be entered in the GMDSS radio log

    C.Both of the above

    D.None of the above


    正确答案:D

  • 第14题:

    If a magnetic compass is not affected by any magnetic field other than the Earth’s which statement is TRUE?______.

    A.Compass error and variation are equal

    B.Compass north will be true north

    C.Variation will equal deviation

    D.There will be no compass error


    正确答案:A
    若磁罗经不受除了地磁意外的任何磁场的影响,哪个叙述是对的?罗经差和磁差一样的。

  • 第15题:

    Which statement about WSA access logs that are to be processed by sawmill for cisco ironport istrue?() 

    • A、 the default log format can be used
    • B、 the fields"%XC%X n" must be appended to the default access log format
    • C、 any log format can beused , but all WSAs must use the same format
    • D、 any log format can be used. And different WSAs may use different formats

    正确答案:A

  • 第16题:

    Which statement is true about IBGP routers? ()

    • A、They must be fully meshed
    • B、They can be in a different AS
    • C、They must be directly connected

    正确答案:C

  • 第17题:

    Which four types of object can be thrown using the throw statement?()

    • A、 Error
    • B、 Event
    • C、 Object
    • D、 Exception
    • E、 Throwable
    • F、 Runtime Exception

    正确答案:A,D,E,F

  • 第18题:

    单选题
    Which statement is true?()
    A

     An anonymous inner class may be declared as final.

    B

     An anonymous inner class can be declared as private.

    C

     An anonymous inner class can implement multiple interfaces.

    D

     An anonymous inner class can access final variables in any enclosing scope.

    E

     Construction of an instance of a static inner class requires an instance of the enclosing outer class.


    正确答案: D
    解析: 暂无解析

  • 第19题:

    单选题
    Which statement about WSA access logs that are to be processed by sawmill for cisco ironport istrue?()
    A

     the default log format can be used

    B

     the fields%XC%X n must be appended to the default access log format

    C

     any log format can beused , but all WSAs must use the same format

    D

     any log format can be used. And different WSAs may use different formats


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    Click the Exhibit button. Given: Which statement is true if a TestException is thrown on line 3 of class B?()
    A

    Line 33 must be called within a try block.

    B

    The exception thrown by method 1 in class A is not required to be caught.

    C

    The method declared on line 31 must be declared to throw a runtime exception.

    D

    On line 5 of class A,the call to method 2 of class B does not need to be placed in a try catch block.


    正确答案: B
    解析: 暂无解析

  • 第21题:

    单选题
    Given: Which statement is true?()
    A

    Compilation succeeds.

    B

    Class A does not compile.

    C

    The method declared on line 9 cannot be modified to throw TestException.

    D

    TestA compiles if line 10 is enclosed in a try/catch block that catches TestException.


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    Which the statement is true?()
    A

     The Error class is a Runtime Exception.

    B

     No exceptions are subclasses of Error.

    C

     Any statement that may throw an Error must be enclosed in a try block.

    D

     any statement that may throw an Exception must be enclosed in a try block.

    E

     Any statement that may throw an Runtime Exception must be enclosed in a try block.


    正确答案: E
    解析: 暂无解析

  • 第23题:

    多选题
    Which four types of object can be thrown using the throw statement?()
    A

    Error

    B

    Event

    C

    Object

    D

    Exception

    E

    Throwable

    F

    Runtime Exception


    正确答案: A,D,E,F
    解析: 暂无解析

  • 第24题:

    单选题
    Which statement is TRUE().
    A

    Key letters or abbreviations may not be used in GMDSS radio logbooks under any circumstance

    B

    Urgent communications do not need to be entered in the GMDSS radio log

    C

    Both of the above

    D

    None of the above


    正确答案: C
    解析: 暂无解析