Java Servlet Programming Question:

Download Job Interview Questions and Answers PDF

The code in a finally clause will never fail to execute, right?

Java Servlet Programming Interview Question
Java Servlet Programming Interview Question

Answer:

Using System.exit(1); in try block will not allow finally code to execute.

Download Java Servlet Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How can a servlet refresh automatically if some new data has entered the database?What mechanisms are used by a Servlet Container to maintain session information?