• 2022-07-02
    下面哪个语句块可以在一个异常处理中出现多次?
    A: try
    B: catch
    C: finally
    D: throws
  • B

    内容

    • 0

      在异常处理中,将可能抛出异常的代码放在( )语句块中 A: throws B: catch C: try D: finally

    • 1

      为了捕获一个异常,代码必须放在下面 A: try 块 B: catch 块 C: throws 块 D: finally 块

    • 2

      为了捕获一个异常,代码必须放在()语句块中。 A: try B: catch C: throws D: finally

    • 3

      异常发生后,通常有两种处理方法:1.————————————————,2———————————— A: try catch;throws B: try;catch C: finally;throws D: catch;finally

    • 4

      程序员将可能发生异常的代码放在( )语句块中,后面紧跟着一个或多个( )语句块,还可以再跟零个或一个( )语句块。 A: catch、try 、finally B: try、catch 、finally C: try、finally、exception D: exception、try、finally