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

what is unreachable code problem in multiple catch statements

Answer Posted / sriragv

Subclass exception handler should come first then the
superclass has to come next. Then only code wil compile
otherwise subclass exception will be never reached results
compilation error.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does .equals do in java?

1007


What is skeleton and stub?

985


What is difference between filereader and bufferedreader?

898


What is bifunction in java?

1115


If I only change the return type, does the method become overloaded?

874


Explain the public class modifier?

887


How many times finalize method will be invoked? Who invokes finalize() method in java?

963


why Interface used?

950


how does multithreading take place on a computer with a single cpu? : Java thread

1082


Can variables be used in java without initialization?

1020


What is nested loop? What is dangling else condition in it?

1022


List down the methods and interfaces of collection class in java.

933


Define interface in java?

1023


when should you use stringbuilder class in a program?

921


What is prime number in java?

933