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

yes, multiple exceptions are possible.
we can write the program like this.

try{
}
catch(ArrayOutofBoundException e){ // Child Class.
}
----
catch(Exception e){ //parent class
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are dot operator queries?

1103


Difference between predicate, supplier and consumer ?

1052


How does regex work?

954


Explain the term virtual machine?

1038


Is java good for beginners?

1008


What is java developer skills?

971


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

996


What is a string what operation can be performed out with the help of a string?

1039


Can a private method of a superclass be declared within a subclass?

1032


What are the states of thread in java?

970


What is the difference between pass by reference and pass by pointer?

1086


What is ide with example?

965


What is the difference between stream and buffer?

963


What are the differences between abstract class and interface?

1061


Difference difference paint() and paintcomponent()?

991