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