Home           J2EE Concepts           JMS           Java Language           Contact           Back           Next           Bookmark this Page          










Some useful tips related to:
 - health & fitness
 - vehicle care
 - cooking
 - misc household tasks

Can one skip Finally?


So, I told that finally would always be executed. Well, here is an exception:
Use System.exit(1);
An example is given below:
try{
...
if(some condition){
System.exit(1);
}
}finally{
...
}