Saturday, March 14, 2009

The code in a finally clause will never fail to execute, right (Servlets)

Question :The code in a finally clause will never fail to execute, right ? (Servlets)
Answer :Using System.exit(1); in try block will not allow finally code to execute.

No comments: