6. What will be the output of the following Java program? 1. class exception_handling 2. 3. public static void main(String args) 4. 5. try 6. System.out.print("Hello" - *+ 1 / 0); 7. 8. 9....


6. What will be the output of the following Java program?<br>1.<br>class exception_handling<br>2.<br>3.<br>public static void main(String args)<br>4.<br>5.<br>try<br>6.<br>System.out.print(

Extracted text: 6. What will be the output of the following Java program? 1. class exception_handling 2. 3. public static void main(String args) 4. 5. try 6. System.out.print("Hello" - *+ 1 / 0); 7. 8. 9. catch(ArithmeticException e) 10. 11. System.out.print("World"); 12. 13. 14. } a) Hello b) World c) HelloWorld d) Hello World

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here