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 will happen if we write code like:
try{}catch(exception e)catch(IOException i)

Answer Posted / mathi

Ignoring the incorrect syntax of the Try\Catch Block, it
will never reach the IOException portion of the
Catch......the first catch will always be triggered due to
it only Catching type Exception.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us something about an iterator.

963


What is the declaration statement?

953


Define jre i.e. Java runtime environment?

1016


What is linkedlist in java?

1004


Can we change the scope of the overridden method in the subclass?

1389


What is float in java?

992


What are keywords and reserved words in java?

1063


Can we execute a program without main() method?

1040


Have you ever used hashtable and dictionary?

1019


What is treeset in java?

1004


How many types of array are there?

1009


What is difference between == equals () and compareto () method?

1051


What is a super method?

978


What is the console in java?

1160


What is java Applet?

1106