Originally posted by eric lee:
the correct answer is:13423, but why is not 134234? i still confuse with meth(1) call.Thanks
...
catch(Exception e){
System.out.println("2");
return;
}
finally{
System.out.println("3");
}
System.out.println("4");
}
Eric
The catch block contains a return statement. If an Exception is caught, the method will return after the finally block is executed. Thus 4 is not printed