public class testFinally { public static void main(String[] args) { System.out.println("Executing the program"); try { System.out.println("In the try block"); System.exit(1); } finally { System.out.println("In the finally."); } } }