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

Does jpa use jdbc?

0 Answers  


how to use CallableStatement? specially how to use their index given ..

1 Answers  


What does jdbc stand for?

0 Answers  


What is use of connection pooling?

0 Answers  


What is the return type of execute, executequery and executeupdate?

0 Answers  


What are the steps required to execute a query in jdbc?

0 Answers  


preparedstatement p= new preparedstatement is it possible ?

10 Answers   Fidelity, IBM, Infrasys,


What is jdbc driver manager?

0 Answers  


What are the different types of drivers under jdbc?

0 Answers  


Is not bound in this context unable to find jdbc spring boot?

0 Answers  


How do I stop nullpointerexception?

0 Answers  


Write an sql to find all records having all upper case alphanumeric characters in a field ?

0 Answers  


Categories