trycatchfinally
题:
try { try { System.out.println("A"); throw new Exception("1"); }catch (Exception e){ System.out.println("B"); throw new Exception("2"); }finally { System.out.println("C"); throw new Exception("3"); } }catch (Exception e){ System.out.println(e.getMessage()); }
运行结果:


浙公网安备 33010602011771号