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

How do you stop a thread in java?

1036


Why is java logo a cup of coffee?

1146


What is exception propagation?

1118


Which package is imported by default?

1070


Difference between current previous versions of Java?

1004


what is the use of bean managed and container managed with example?

1957


How does varargs work in java?

1079


Can static method access instance variables ?

1107


Can you run java program without main method?

1052


Why char array is favored over string for the storage of passwords?

1053


What does pointer mean?

1028


Describe what a thread-local variable is in java?

996


What is update method called?

1136


Explain the private protected method modifier?

968


What is the main purpose of serialization in java?

1009