Friday, 20 April 2018



//what is the o/p of this program?

public class FinallyCheck {
public static void main(String[] args) {
try
{
System.out.println("1");
System.exit(0);
System.out.println("2");
}
finally
{
System.out.println("3");
}

}


}



o/p:-
1

No comments:

Post a Comment