package test;
class Main {
public static void main(String[] args) {
int x = 1 / 2;
try {
System.out.println(x / x);
} catch (ArithmeticException e) {
System.out.println(e.getMessage());
}
}
}
What is the output in java
Expert Answer
An answer will be send to you shortly. . . . .