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"); } } }
You
Previous Question Next Question
Your comments will be displayed only after manual approval.