-
What is the output of this program?
public class Result
{
public static void main(String args[])
{
try
{
int p = 2;
int q = 9;
int s = p / q;
System.out.print("First");
}
catch(Exception e)
{
System.out.print("Second");
}
}
}
-
- First
- Second
- Compilation Error
- Runtime Error
- None of these
Correct Option: A
First