posted 19 years ago
Hi,
I think Santana meant that if you return any value in finally block the previous value returned by try or catch block is replaced with the new value.
Similarly if you throw an exception in finally block then only the new exception is forwarded to the calling method, exception thrown by try blcok(if any) is replaced by new exception.
Hope this clears the point.
Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?