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 is byte value?

952


Explain 5 features introduced in jdk 1.7?

978


How are variables stored?

936


Can we overload the main() method?

998


Why can't you declare a class as protected?

1072


What is dynamic binding(late binding)?

987


Where and how can you use a private constructor?

943


What happens if main method is not static?

958


What are the four pillars of java?

1168


In java, how we can disallow serialization of variables?

955


Can an object subclass another object?

1036


What makes a function well defined?

949


What is the difference between jfc & wfc?

1023


What is return in java?

918


Can we have any other return type than void for main method?

914