异常处理问题
public class TestEx {
public static void main(String[] args){
TestEx te = new TestEx();
te.m(0);
}
void m(int i) throws ArithmeticException {
if(i == 0)
throw new ArithmeticException("");
}
}
运行时好像说在 throw new ArithmeticException(""); 这行出现非法字符 :\65307