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 / sitaram

it is not complied. because first catch having child
exception and last exception having parent exception is must.
correct answer is :
try{
}
catch(IOException i){
}
catch(Exception e){
}

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sizeof return?

929


What is compiler and what its output.

1075


Is java programming easy?

934


What is enhanced loop in java?

926


How to create a base64 decoder in java8?

1001


What is increment in java?

918


What are synchronized methods and synchronized statements in java programming?

966


Explain the importance of throwable class and its methods?

990


Name some OOPS Concepts in Java?

1016


Is a class an object?

941


How can a gui component handle its own events?

1041


What is operator overloading. Is it is supported in java?

944


What is keyword auto for?

1104


Which class is the superclass of all classes?

1050


What are the differences between heap and stack memory in java?

996