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 is data string?

980


Explain the difference between map and flatmap stream operation?

1276


What is object of class in java?

1130


What is the differences between c++ and java? Explain

1060


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1872


Who is founder of java?

1000


Which is best ide for java?

1052


Explain some best practices you would apply while using collection in java?

1044


What is compiler and what its output.

1154


Is passing by reference faster?

999


How many bytes is string in java?

1258


How many unicode characters are there?

1069


Difference between this() and super() in java ?

1087


What is visibility mode?

973


Outline the major features of java.

1081