1.

What is the output of this program?
public class Finally_Example
{
public static void main(String[] args)
{
try
{
return;
}
finally
{
System.out.println( "Finally block executed..." );
}
}
}

A. Compilation Error
B. Runtime Error
C. Finally block executed...
D. All of above
E. None of these
Answer» D. All of above


Discussion

No Comment Found

Related MCQs