Baheeg Training and Test Exam

Java intermediate Level

Score: 0 / 0 answered

Progress: 0 of 1595 qs

time elap: 00:00

Question 1: What is the output of the following code snippet?

try {
    int a = 5 / 0;
} catch (ArithmeticException e) {
    System.out.println("Exception caught");
}