1.

What is the output of this program?
public class Exep_Handling_Example
{
public static void main(String args[])
{
try
{
int p, q;
p = 0;
q = 15/p;
}
catch(ArithmeticException e)
{
System.out.print("Welcome to ");
}
finally
{
System.out.print("Interview Mania");
}
}
}

A. Welcome to
B. Interview Mania
C. Interview
D. Mania
E. Welcome to Interview Mania
Answer» F.


Discussion

No Comment Found

Related MCQs