Code /* TestException1.java CIS 260 Dave Klick 2016-02-03 Demonstration of catching an unchecked exception. */ public class TestException1 { public static void main(String[] args) { System.out.println(divide(6, 4)); System.out.println(divide(6, 0)); } private static int divide(final int n1, final int n2) { try { return n1 / n2; } catch (ArithmeticException e) { System.out.println("Attempt to divide by 0"); return 0; } } }