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 / srinivasa

As this method is available in object class we can override
the method and provide the code to release the resources.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can we not override static method?

1105


How hashmap increases its size in java?

989


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1169


When to use runnable interface vs thread class in java?

980


Which object oriented concept is achieved by using overloading and overriding?

1114


how would you implement a thread pool? : Java thread

917


Is nullpointerexception checked or unchecked?

1030


What is protected in java?

999


Explain java heap space and garbage collection?

1072


Why method overriding is used?

1097


What are the differences between string, stringbuffer and stringbuilder?

1026


What is ph and buffers?

1006


What is array length?

971


What is the main use of java?

1169


Is there is any difference between a scrollbar and a scrollpane?

992