摘要: Java基础 day11 异常的处理 检测异常,并处理 public static void main(String[] args){ int a = 1; int b = 0; try{//放入可能会产生异常的代码块 System.out.println(a/b); } catch(Arithme 阅读全文
posted @ 2021-08-18 16:50 亜光君 阅读(27) 评论(0) 推荐(0)