摘要: 实验四 异常处理 1.建立exception包,编写TestException.java程序,主方法中有以下代码,确定其中可能出现的异常,进行捕获处理。 运行结果: / by zero null 9 String index out of range: 99 2.建立exception包,建立Ban 阅读全文
posted @ 2016-09-23 20:47 hanruyue 阅读(269) 评论(0) 推荐(0) 编辑