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...

Can multiple catch statements be used in exceptions ?

Answer Posted / syamkumarm

yes we can use multiple catch statements in exceptions
for example we r writing the program for databas connection
with some mathametical operations with some network concepts

then we may get arithmatic exception, sql exception, and
netwok exception socket, rmi etc there we need to catch all
thoes using different catch statement

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of variable is gender?

990


What does system.gc() and runtime.gc() methods do?

1053


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1111


What is arrays sort in java?

966


What is difference between c++ and java ?

1124


Is array a class in java?

981


What are the advantages of compiled language?

1079


What is nan in java?

996


What is Java Reflection API? Why it’s so important to have?

1165


What is meant by tab pans?

1248


Can we make constructors static?

1236


what state does a thread enter when it terminates its processing? : Java thread

1049


Is java a software?

958


What is difference between array and arraylist in java?

993


Can a set contain duplicates?

952