Doubt in exception handling and finally block in java
问题 Can you tell the idea of how to doing it? Code : public void main(String[] args) { try { //Some Exception throws here } catch(SomeException se) { se.printStackTrace(); } finally { try { //SomeException1 throws here } catch(SomeException1 se1) { se.printStackTrace(); //Control is getting stop in this block itself but i wanna print the below statement } // I need to print this statement whatever exception occurs System.out.println("End Program"); } } 回答1: Just add another finally block public