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


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

A.publicvoidfun()throwsIOException

B.publicvoidfun()throwsIOException,throwsSQLException

C.publicvoidthrowsIOExceptionfun()

D.publicvoidfunthrowsIOException()

正确答案:A


Tag:声明 时间:2022-12-24 20:15:33