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 access modifiers can be used for methods?

1088


What is serial version uid and its importance in java?

1030


What is meant by structural programming?

1005


What is data string?

946


What are inbuilt functions?

973


How many days will it take to learn java?

917


Can a abstract class be declared final?

983


What is data object example?

990


What is finally block?

1036


How large is a boolean?

995


What is the base class in java from which all classes are derived?

961


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

967


What is the use of protected in java?

1006


When do we use synchronized blocks and advantages of using synchronized blocks?

1209


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

1102