Java - Exception Handling
What will be the output of the following Java code?
public class Example {
public static void main(String[] args) {
try {
int value = 100 / 0;
System.out.println(value);
} catch (ArithmeticException e) {
System.out.println("Division by zero error");
}
}
}