加载中...

摘要: Java异常处理 1.try...catch和finally 语法: try{ //可能发生异常的语句 }catch(Exception类或其子类){ //对异常进行捕获并做出相应处理 } 举例: public class Page141 { public static int divide(int 阅读全文
posted @ 2022-03-02 16:35 我没有bug 阅读(28) 评论(0) 推荐(0) 编辑