how to prevent finally block from execution

Answers were Sorted based on User's Feedback



how to prevent finally block from execution..

Answer / bln

System.exit(0) prevents execution of finally block

Is This Answer Correct ?    31 Yes 1 No

how to prevent finally block from execution..

Answer / srinu

System.exit(0) prevents execution of finally block

Is This Answer Correct ?    5 Yes 1 No

how to prevent finally block from execution..

Answer / gj69463

System.err() will also do

Is This Answer Correct ?    7 Yes 6 No

how to prevent finally block from execution..

Answer / rock

System.Environment.Exit(0);

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More JDBC Interview Questions

What is jdbc in java?

0 Answers  


What is a jdbc connection pool?

0 Answers  


What is the use of getGeneratedKeys() method in Statement?

0 Answers  


What is drivermanager in java?

0 Answers  


What are the benefits of PreparedStatement over Statement?

0 Answers  






Explain creation of statement object with connection method create method with help of an example.

0 Answers  


what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?

2 Answers  


How to get a whole row of data at once?

2 Answers  


Explain the various types of locking system in jdbc?

0 Answers  


Explain about the Try Block?

0 Answers  


What are JDBC Best Practices?

0 Answers  


What are the jdbc drivers in java?

0 Answers  


Categories