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 / pratik

Yah you can use multiple catch statement.But the super
class type object should not come in catch statment before
sub class type object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is return type in java?

1009


Which category the java thread do fall in?

943


How to perform linear search in java?

897


How do you reverse a string in java?

1051


Is string a datatype?

927


What all access modifiers are allowed for top class ?

1138


Can a class have more than one object?

935


What are the different types of inheritance in java?

950


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

987


Differentiate between static and non-static methods in java.

993


What is a parameter in a function?

950


What is enhanced loop in java?

926


How can you handle java exceptions?

960


Is singleton a bad practice?

984


How many types of gc are there in java?

931