异常类型?
public void test1() throws Exception{
throw new DrunkException("喝车别开酒!");
}
test1()抛出什么类型的异常?Exception?DrunkException?
public void test1() throws Exception{
throw new DrunkException("喝车别开酒!");
}
test1()抛出什么类型的异常?Exception?DrunkException?
2015-04-04
举报