Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Kamal Raj
Finally() in Java
1 Answer(s)      3 years and 8 months ago
Posted in : Java Interview Questions


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???


Advertisement
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:
 

 

 

DMCA.com