Question: java question Which of the following is true for the program given below? public class HelloWorld { public static void main(String args[]) { try {
java question
Which of the following is true for the program given below? public class HelloWorld { public static void main(String args[]) { try { int k = 1 / 0;; System.out.print("1"); } catch (RuntimeException ex3) { System.out.print("3"); throw ex3; } finally {System.out.print("4");} System.out.print("5"); } Select one: a. The program normally terminates and displays 13 b. The program normally terminates and displays 345 c. The program normally terminates and displays 43 d. The program abnormally terminates and displays 34 before termination e. The program abnormally terminates and displays 3 before termination
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
