-
What is the output of this program?
public class Arithmetic_Exception
{
public static void main(String args[])
{
try
{
int p = args.length;
int q = 11 / p;
System.out.print(p);
}
catch (ArithmeticException e)
{
System.out.println("First");
}
}
}
-
- Compilation Error
- Runtime Error
- First
- 11
- None of these
Correct Option: C
First