What will be the output of the program? try int x = 0; int y = 5 / x; catch (Exception e) System.out.-println("Exception"); catch (ArithmeticException ae) System.out.println(" Arithmetic Exception);...


What will be the output of the program?<br>try<br>int x = 0;<br>int y = 5 / x;<br>catch (Exception e)<br>System.out.-println(

Extracted text: What will be the output of the program? try int x = 0; int y = 5 / x; catch (Exception e) System.out.-println("Exception"); catch (ArithmeticException ae) System.out.println(" Arithmetic Exception); System.out.println("finished"); A. finished B. Exception C. Compilation fails. D. Arithmetic Exception

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here