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...


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?



Does it matter in what order catch statements for filenotfoundexception and ioexception are written?..

Answer / Arpit Shrivastav

It does not matter in what order you write the catch blocks for FileNotFoundException and IOException, as IOException is a superclass of FileNotFoundException. However, it's good practice to handle more specific exceptions before handling their superclasses.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a war file?

1 Answers  


Why java is made?

1 Answers  


Can u write constructor in abstract.If yes den when it will be invoked.

4 Answers   SunGard,


explain different ways of using thread? : Java thread

0 Answers  


What is the default execution method in java?

1 Answers  


Does garbage collection guarantee that a program will not run out of memory?

1 Answers  


What is included in core java?

1 Answers  


In Java list the methods that can be overridden?

1 Answers   Accenture,


Can size_t be negative?

1 Answers  


Explain about map interface in java?

1 Answers  


What methods are called, When we navigate from one applet to another applet?

1 Answers  


What does indexof return in java?

1 Answers  


Categories