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

Can a string be null?

1045


What is are packages?

1086


How do you identify if jvm is 32-bit or 64-bit from java program?

1011


Why is singleton instance static?

1044


What is the difference between synchronized and synchronized block?

1107


What is a wrapper method?

1172


What is the purpose of return statement?

1124


What is a class object?

1015


Which package is imported by default?

1132


What are runtime exceptions?

1225


What type of variable is error flag?

1128


What is the difference between an inner class and a sub-class?

1067


Can you call a method in a method?

1171


What are methods?

1076


Explain about field hiding in java?

1000