MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?public class Null_Pointer_Exception { public static void main(String args[]) { try { System.out.print("First"); throw new NullPointerException ("Interview Mania"); } catch(ArithmeticException e) { System.out.print("Second"); } } } |
| A. | First |
| B. | Second |
| C. | Interview Mania |
| D. | Compilation Error |
| E. | Runtime Error |
| Answer» F. | |