Hi friends,
Ques : I want to know that What is the purpose of garbage collection in Java, and when is it used. Please explain in brief?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 23, 2012, 4:03 AM EDT
This relieves the programmer from having to manage memory manually.
SenthilkumarRank #387 · 6.5K reputationPosted Mar 23, 2012, 8:11 AM EDT
I have written an article with example program. Please go through this url.
http://www.c-sharpcorner.com/uploadfile/skumaar_mca/garbage-collection-in-net-framework/
VulpesRank #55 · 29.2K reputationPosted Mar 23, 2012, 8:22 AM EDT
See, for example:
http://javarevisited.blogspot.co.uk/2011/04/garbage-collection-in-java.html