摘要: 链接 https://www.processon.com/view/link/610a8a121e0853337b1bbbea https://www.processon.com/embed/6109da75e401fd6714bc399a 阅读全文
posted @ 2021-08-04 20:40 阿向向 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1,编写代码 public class Hello{ /** *@author xiang *@param args null *@since 1.0 *@throws null */ public static void main(String[] args){ for(int i = 0;i < 阅读全文
posted @ 2021-08-04 12:59 阿向向 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1,编写代码 public class Hello{ /** *@author xiang *@param args null *@since 1.0 *@throws null */ public static void main(String[] args){ System.out.printl 阅读全文
posted @ 2021-08-04 09:22 阿向向 阅读(64) 评论(0) 推荐(0) 编辑
摘要: ##1,新建MyException类 自定义 异常类 package exception.demo03; //自定义 异常类 public class MyException extends Exception { // 传递数字 > 10 那么抛出异常 //接收参数 判断 private int 阅读全文
posted @ 2021-08-04 08:01 阿向向 阅读(111) 评论(0) 推荐(0) 编辑