Finally() in Java

Finally() in Java

After an exception i excute some statement in Finally block.After Fianally block we can execute statements??? if possible in that place exception came means who'll handle???

View Answers

March 1, 2011 at 3:13 PM

Try
{
.....
Throw exception1;
}
Catch(exception1 e)
{
....
}
Finally
{
   try{
      }catch(Exeception e){}
}
...statement 1....
throws exception2;
}

here Statement 1 will excute or not??and who'll handle the exception2.









Related Tutorials/Questions & Answers:

Ads