A
Q. What will this code print?
try {
int x = 10 / 0;
} catch (ArithmeticException e) {
System.out.print("Catch");
} finally {
System.out.print("Finally");
}
- Correct Answer - Option(C)
- Views: 6
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.