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

What is the purpose of the finally clause?

Answer Posted / ranganathkini

The finally clause is used to ensure that a single statement
or a set of statements are executed irrespective of whether
or not an exception is thrown/caught inside a method.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is 0 a real number?

1103


What is bigger kb or mb?

1109


Explain different ways of creating a thread. Which one would you prefer and why?

1101


Who is founder of java?

1039


What is Java Reflection API? Why it’s so important to have?

1242


What is method overloading in JAVA? Why is it not present in C ?

1145


What is difference between fail-fast and fail-safe?

1283


Explain numeric promotion?

1160


What are the benefits of operations?

993


Is hashset ordered java?

1155


Why method overriding is used?

1162


Which variables are stored in stack?

948


How do you read and print a string in java?

1000


Explain about main thread in java?

1146


What is class and object in java?

1061