finally中使用return会吃掉catch中抛出的异常

今天学习大神的文章:深刻理解java异常处理机制 学到一个有意思的知识点。若是在finally中使用return会吃掉catch中抛出的异常。java 看例子:编程 [java]  view plain copy public class TestException {       public TestException() {       }          boolean testEx()
相关文章
相关标签/搜索