JSP Question:
Download Questions PDF

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

Java JSP Programming Interview Question
Java JSP Programming Interview Question

Answer:

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

Download Java JSP Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How can a servlet refresh automatically if some new data has entered the database? How many messaging models do JMS provide for and what are they?