在视频中,测试类Test通过()语句手工具抛出异常类。
A.throwFailException
B.throw new FailException(“总评成绩不及格“)
C.throws FailException
D.throws new FailException(“总评成绩不及格“)
正确答案:throw new FailException(“总评成绩不及格“)
猜你喜欢