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 is dynamic binding(late binding)?

1038


Which java ide is used the most?

1005


Explain the difference between comparator and comparable in java?

941


What is final method in java?

1021


how can you catch multiple exceptions in java?

1011


What is native method in java?

1053


How many types of array are there?

1005


Is object a data type in java?

1105


What is a cup of java?

1010


What is java util?

1013


How do you replace all in word?

1059


When do you get classcastexception?

1027


What do you understand by overloading and overriding in java?

1073


Objects or references which of them gets garbage collected?

962


Write a program to check for a prime number in java?

1037