下列异常声明中正确的是()
10 查阅
下列异常声明中正确的是()
A.publicvoidfun()throwsIOException
B.publicvoidfun()throwsIOException,throwsSQLException
C.publicvoidthrowsIOExceptionfun()
D.publicvoidfunthrowsIOException()
参考答案:
下列异常声明中正确的是()
A.publicvoidfun()throwsIOException
B.publicvoidfun()throwsIOException,throwsSQLException
C.publicvoidthrowsIOExceptionfun()
D.publicvoidfunthrowsIOException()
参考答案: