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 garbage collection in Java, and how can it be used ?

Answer Posted / sangeetha

when we remove the object that it will be stored particular
memory space these are known as garbage collection.

It is finalize method is used in the garbage collection.

Is This Answer Correct ?    32 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the swingutilities.invokelater(runnable) method for? : Java thread

1044


Where is jre installed?

1049


What is an abstract method in java programming?

1051


What are recursive functions? Give some examples?

1193


I want to persist data of objects for later use. What is the best approach to do so?

1067


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1016


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

993


How to avoid memory leak in java?

1142


Explain about class in java?

1116


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2823


What is the purpose of javac exe?

1098


What is the difference between the paint() and repaint() methods in java programming?

1189


How do you use find and replace?

960


What’s the difference between applets and standalone program?

1051


Explain naming conventions for packages?

1035