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

1070


how would you implement a thread pool? : Java thread

919


How are destructors defined in java?

1033


What class of exceptions are generated by the java run-time system?

1190


Is java a virus?

952


Why do we declare a class static?

1154


What is lastindexof in java?

1109


Why does java not allow multiple public classes in a java file ?

4544


Why are generics used?

967


What is the difference between hashmap and hashtable in java?

1125


What is boolean false?

984


How do you read a char in java?

1025


What is a bufferedreader?

1095


Difference between this() and super() in java ?

1080


Can we override static methods in java?

1070