R
Q. What is the output of the following program code?
public class Test{
public static void main(String args[]){
try{
int i;
return;
}
catch(Exception e){
System.out.print("inCatchBlock");
}
finally{
System.out.println("inFinallyBlock");
}
}
}
- Correct Answer - Option(C)
- Views: 33
- Filed under category JAVA
Discusssion
Login to discuss.