Vidyalelo
Java Programming · Q61

Exceptions

Programming · Java Programming · question 61

Q61

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");

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board