A
Q. What is the result of the following code snippet?
try {
int result = 10 / 0;
} catch (ArithmeticException e) {
System.out.println("Arithmetic Exception!");
} finally {
System.out.println("Finally Block!");
}
- Correct Answer - Option(D)
- Views: 16
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.