JAVA中对try,catch,finally的理解
摘要:
当程序不想给上层抛出异常,或者说想捕获异常时,通常我们会使用到try, catch , finally。 但是这其中是有一些地方不是特别明白,特记录于此。 try未发生异常时执行顺序 第1个情况:finally中无return public class TryTest { public static 阅读全文
posted @ 2018-07-20 12:50 AmosChen 阅读(10) 评论(0) 推荐(0)
浙公网安备 33010602011771号