摘要: finally代码块:定义一定执行的代码。 通常用于关闭资源连接。 三种格式: try { }catch (){ }//*****try { }finally { }//*****可以多个catchtry { }catch (){ }finally { } catch:处理异常,没有catch就代表 阅读全文
posted @ 2020-03-20 01:53 hongxiao2020 阅读(575) 评论(0) 推荐(0)