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 "finally" keyword?

Answer Posted / k.santosh kumar

Finally:
finally is block of code written in exception handling.
finally block is executed irrespective whether exception as
occured or not. it will usefull when u want to close user
defined resources like file , opened resources(db stmts).

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is nan false?

938


Write a java program to count the number of words present in a string?

954


What are the different tags provided in jstl?

924


What is the purpose of using break in each case of switch statement?

981


Can you give few examples of final classes defined in java api?

969


Define jit compiler?

1083


Can you explain the usages of class.forname()?

1027


Explain the reason behind ending a program with a system.exit(0)?

1059


What are the differences between checked exception and unchecked exception?

941


How many bytes is string in java?

1177


What is the default access specifier for variables and methods of a class?

1157


Is ++ operator thread-safe in java?

1129


Can you access the private method from outside the class?

923


What are streams in java 8?

967


Are arrays passed by reference in java?

888