可通过继承java.lang.Exception来自定义异常类。


可通过继承java.lang.Exception来自定义异常类。

A.正确

B.错误

正确答案:正确