摘要: package hello; //自定义异常 class MathException extends Exception{ MathException(){ System.out.println("输入的格式不正确!"); } } public class Hello{ public static void input(String t) throws MathExcept... 阅读全文
posted @ 2019-09-08 15:53 翁德彪 阅读(731) 评论(0) 推荐(0) 编辑