Q113
What will be the output of the following Java program? class exception_handling public static void main(String args[]) try System.out.print("Hello" + " " + 1 / 0); catch(ArithmeticException e) System.out.print("World");
A.
Hello
B.
World
AnswerC.
HelloWorld
D.
Hello World
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board