Java - Exception Handling
What is wrong with this Java code snippet?
try {
int result = 10 / 0;
} catch (Exception e) {
System.out.println("Exception caught");
} catch (ArithmeticException e) {
System.out.println("Arithmetic Exception caught");
}