Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Egidius Bakker   on May 25 In Java Category.

  
Question Answered By: Alexander Fields   on May 25

your answer of the first question  is not clear to me.

say,i am trying to do..

class xyz{
....
try
{

//code block


}catch(ArithmeticException e)

{
System.out.println("arithmetic exception");
}

//blah

//blah

}


now say, code block  is throwing NullPointerException.....so it wont
be caught by the catch()....in this situation will the code  run??

you are talking about compilation errors....but i think it would be
runtime error...right?

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on question on exception Or get search suggestion and latest updates.


Tagged: