Home » Java Programming » Exceptions

Which answer most closely indicates the behavior of the program? public class MyProgram { public static void throwit() { throw new RuntimeException(); } public static void main(String args[]) { try { System.out.println("Hello world "); throwit(); System.out.println("Done with try block "); } finally { System.out.println("Finally executing "); } } }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!