摘要: 一、throw、throws运用//: Step.1 throwOne 方法中的异常抛出后没有catch或者在方法中没有提示throws//public class TestException {// static void throwOne() {// System.out.println("Inside throwOne.");// throw new IllegalAccessException("demo");// }// public static void main(String[] args) {// throwOne();// }//} 阅读全文
posted @ 2011-07-19 16:38 lxmanutd 阅读(499) 评论(0) 推荐(0) 编辑