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


When finally clause is executed?

Answers were Sorted based on User's Feedback



When finally clause is executed?..

Answer / debapriya patra

A finally clause will execute always wheather the try block
throw any exception or not.

Is This Answer Correct ?    4 Yes 0 No

When finally clause is executed?..

Answer / dinesh

Finally clause is used to handle an exception that is not
caught by any of the previous catch statements.Finally
block can be used to handle any exception generated within
a try block.It may be added immediately after the try block
or after the last catch block.When a finally block is
defined,this is guranteed to execute,regardless of whether
or not an exception is thrown.used in house-keeping
operations like closing files and releasing system
resources.

Is This Answer Correct ?    3 Yes 0 No

When finally clause is executed?..

Answer / sushant

This is a block which provide gurantee about the particular
code execution, whether there is exception or not.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is operator overloading. Is it is supported in java?

0 Answers  


How java uses the string and stringbuffer classes?

0 Answers  


What is += mean in java?

0 Answers  


In Java why we write public static void main(String args[]) why not main()?

46 Answers   Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,


What is prime number in java?

0 Answers  


Can static methods be inherited?

0 Answers  


What is string [] args?

0 Answers  


What is a consumer in java?

0 Answers  


Is there a jre for java 11?

0 Answers  


Difference between ‘>>’ and ‘>>>’ operators in java?

0 Answers  


What is <> used for in java?

0 Answers  


What is difference between array and vector?

0 Answers  


Categories