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 basically use of finally while we know it
is always executed but why?

Answer Posted / reshma

Using finally one can close the resources such as file
handler or a database connection. It ia good to maintain
the internal state of an object.

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by polymorphism?

1022


What is arrays fill in java?

1005


What is arraylist class in java?

1057


Are registers volatile?

933


What are autoboxing and unboxing? When does it occur?

947


Write a program to find the greatest of three numbers in java?

1001


What is string args [] in java?

1031


Say any two properties in beans?

1060


What is linked hashset and its features?

1055


Which data type is class in java?

1010


What is meant by call by reference?

1004


Explain wait() method of object class ?

1222


What causes memory leaks in java?

929


What are the 6 functions?

969


What is the full meaning of java?

1042