MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? class exception_handling { public static void main(String args[]) { try { System.out.print("Hello" + " " + 1 / 0); } finally { System.out.print("World"); } } } |
| A. | Hello |
| B. | World |
| C. | Compilation Error |
| D. | First Exception then World |
| Answer» E. | |