A
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");
}
}
}
- Correct Answer - Option(D)
- Views: 26
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.