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

How many types of statements are there in jdbc?

0 Answers  


HI ALL, How to Overcome "OutOfMemoryException"? when I am compiling source having more than 1000 LOC throwing this exception. Can any one give correct answer to my question? thx

5 Answers  


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

0 Answers  


Explain the necessary steps to connect to the database in java?

0 Answers  


How do you insert images into database using jdbc?

0 Answers  


Why do I have to reaccess the database for Array, Blob, and Clob data?

0 Answers  


What is the syntax of URL to get connection?

1 Answers  


What is an encrypted internet connection?

0 Answers  


How can you make a connection?

0 Answers  


Different statements in JDBC?

3 Answers  


How many ways that we can view a result set?

0 Answers  


What is jdbc and odbc in java?

0 Answers  


Categories