Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How does a try statement determine which catch clause
should be used to handle an exception?

Answer Posted / guest

when an exception is thrown with in the body of the try
statement then the catch clauses of the try statement are
examined in the order in which they appear.The first catch
clause that is capable of handling the exception is caught
and the remaining are ignored.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pattern what is an anti pattern?

981


What are different types of arrays?

1018


What happens when you add a double value to a string?

1011


How does regex work?

976


Explain about automatic type conversion in java?

1054


What does int argc char * argv [] mean?

1001


What is default switch case? Give example.

1019


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

1005


What is the implementation of destroy method in java. Is it native or java code?

978


What if I write static public void instead of public static void in java?

1096


What is ++ a in java?

984


Who is the owner of java?

1006


What is the difference between method and means?

1087


What is hashmap in java?

1065


Can we increase size of array?

1037