MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? class exception_handling { public static void main(String args[]) { try { int a, b; b = 0; a = 5 / b; System.out.print("A"); } catch(ArithmeticException e) { System.out.print("B"); } finally { System.out.print("C"); } } } |
| A. | A |
| B. | B |
| C. | AC |
| D. | BC |
| Answer» E. | |