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

how to use finalize()Method to resources

Answer Posted / rakesh

finalize() is used to release other resources
held by your object (such as database connections or
file handles)

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I debug the Java security exceptions and AccessControlExceptions?

1148


How is garbage collection controlled?

1169


How do you check if two given string are anagrams?

961


Can private members of a base class are inheritable justify?

927


How many characters is 16 bytes?

996


Why does java have two ways to create child threads?

949


Can two objects have same hashcode?

995


What is the purpose of void?

996


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

979


What is the purpose of encapsulation?

1014


What is local declaration?

964


Why pass by reference is not possible in java?

1038


What language is an assembler written in?

993


What are different types of multitasking?

954


What is the final field modifier?

972