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 hashing principle in java?

1018


What are the wrapped, classes?

1047


What is integer parseint?

984


What is the largest number a double can hold?

1039


5 Coding best practices you learned in java?

1007


What is native method in java?

1053


Why do we use string?

1023


What access modifiers can be used for variables?

1141


What is variable and its types?

1007


What are the two ways of implementing multi-threading in java?

1494


What does next mean in java?

963


How do you check if an arraylist is not empty?

1113


What is the purpose of the System class?

993


Does java list allow null?

979


What are exception handling keywords in java?

1031