下列异常声明中正确的是()

10 查阅

下列异常声明中正确的是()

A.publicvoidfun()throwsIOException

B.publicvoidfun()throwsIOException,throwsSQLException

C.publicvoidthrowsIOExceptionfun()

D.publicvoidfunthrowsIOException()

参考答案:

答案:A

超星尔雅学习通