R
Q. What will be the output of the following Java code?
class Output { public static void main(String args[]) { try { int a = 0; int b = 5; int c = b / a; System.out.print("Hello"); } catch(Exception e) { System.out.print("World"); } finally { System.out.print("World"); } } }
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. An ENUM type in Java is like a ____.
Q. BLOB, CLOB, ARRAY and REF type columns can be updated in
Q. A BREAK or CONTINUE statement applies only to the ___ loop.
Q. A Class in Java is like a ____.
Q. What is the value of a[1] after the following code is executed?
Q. Which of these occupy first 0 to 127 in Unicode character set used for characters in Java?
Discusssion
Login to discuss.