下列方法中,声明抛出InterruptedException类型异常的方法是A.suspend()B.resume()C.sleep()D.start()

下列方法中,声明抛出InterruptedException类型异常的方法是

A.suspend()

B.resume()

C.sleep()

D.start()


相关考题:

下列方法中,声明抛出InterruptedException类型异常的方法是A.suspended()B.resume()C.sleep()D.start()

下列方法中,声明抛出IntermptedExcetion类型异常的方法是( )。A.suspend()B.resume()C.sleep()D.start()

下列方法中,声明抛出InterruptedException类型异常的方法是( )。A.suspendB.resumeC.sleepD.start

下列方法中,声明抛出InterruptedException类型异常的方法是( )。A.suspend( )B.resume( )C.sleep( )D.start( )

3、当需要在方法中声明可能抛出的异常类型,应该使用 ()语句。

Thread类的join()方法会抛出InterruptedException异常。()

12、Thread类的join()方法会抛出InterruptedException异常。()

如果一个方法抛出异常,而该方法没有能力处理该异常,则可以在方法声明时,采用 子句声明该方法将抛出异常。

当需要在方法中声明可能抛出的异常类型,应该使用 ()语句。