how to prevent finally block from execution

Answer Posted / srinu

System.exit(0) prevents execution of finally block

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

540


How can you use preparedstatement in jdbc?

528


Which package contains jdbc api?

555


What does setautocommit do?

566


Does the JDBC-ODBC Bridge work with Microsoft J++?

1878






What driver should I use for scalable Oracle JDBC applications?

514


What do you understand by DDL and DML statements?

516


What are the new features added to JDBC 4.0?

547


Where can I find ojdbc14 jar file?

509


What are the basic exceptions in jdbc?

542


What is JDBC RowSet? What are different types of RowSet?

562


What are the advantages of using jdbc datasource?

507


What is com mysql jdbc driver?

508


what happen if we set JDBC string to NULL?

2957


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

553