What does the following code print?
try {
int a = 1, b = 0;
int c = 5 / b;
System.out.print("A");
}
catch (ArithmeticException e) {
System.out.print("B");
}
finally {
System.out.print("C");
}What does the following code print?
try {
int a = 1, b = 0;
int c = 5 / b;
System.out.print("A");
}
catch (ArithmeticException e) {
System.out.print("B");
}
finally {
System.out.print("C");
}Create a free account to access the full topic