what happens to finally block in the following cases?
Posted
by GK
on Stack Overflow
See other posts from Stack Overflow
or by GK
Published on 2010-04-22T14:59:51Z
Indexed on
2010/04/22
15:03 UTC
Read the original article
Hit count: 118
java
if i have a following code
try{
//some code
}catch(Exception e){
//some code
}finally{
}
what happens to the finally block in the following cases
if any checked exceptions happen.
if System.exit() is called.
if any unchecked exceptions happen.
if any errors happen.
© Stack Overflow or respective owner