R
Q. What will be the output of the following Java code? class exception_handling { public static void main(String args[]) { try { throw new NullPointerException ("Hello"); System.out.print("A"); } catch(ArithmeticException e) { System.out.print("B"); } } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which Java method is used to get the version of running java VM?
Q. What is the output of the following program ?
Q. The keyword used inside a class to refer to its immediate super class is
Q. The range of floating point is
Q. Which Java method is used to convert an object to string?
Q. In character stream I/O, a single read/write operation performs _____.
Discusssion
Login to discuss.