1.

What is the output of this program? 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"); } } }

A. Hello
B. World
C. HelloWOrld
D. Compilation Error
Answer» C. HelloWOrld


Discussion

No Comment Found