4. Reading the program and write the running results. public class ExceptionDemo{ public static void main(String args[D} int i= 0, j= 1, k; try{ k = j/i; }catch(ArithmeticException e){...


please quickly thanks !


4.<br>Reading the program and write the running results.<br>public class ExceptionDemo{<br>public static void main(String args[D}<br>int i= 0, j= 1, k;<br>try{<br>k = j/i;<br>}catch(ArithmeticException e){<br>System.out.println(

Extracted text: 4. Reading the program and write the running results. public class ExceptionDemo{ public static void main(String args[D} int i= 0, j= 1, k; try{ k = j/i; }catch(ArithmeticException e){ System.out.println("Arithmetic Exception"); }catch (Exception e){ System.out.printin("Exception"); }finally { System.out.println("Finally"); } } The above running results:

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here