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

How to make a write-only class in java?

1061


How do you create a bulleted list?

1255


How do you execute a thread in java?

955


What is a ?

1203


How to change the priority of thread or how to set the priority of thread?

1040


What are streams in java 8?

1005


Define interface in java?

1083


What is balanced tree in java?

972


What is final?

1077


Can we restart a dead thread in java?

987


What is a stringbuffer?

972


What are java methods?

1115


What data type is true or false?

1044


Can a static class have a constructor java?

988


What java ide should I use?

993