Stuck? Ask someone who’s been there.
148,336 questions · 26,148 solved · 24,582 developers answering
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?
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