---
title: "What is garbage collection? What is the process that is responsible for doing that in java?"  
description: "What is garbage collection? What is the process that is responsible for doing that in java?"  
author: "Anonymous User"  
published: 2012-06-13  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/1479/what-is-garbage-collection-what-is-the-process-that-is-responsible-for-doing-that-in-java  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is garbage collection? What is the process that is responsible for doing that in java?

Reclaiming the unused memory by the invalid objects. Garbage collector is responsible for this process.

## Answers

### Answer by Anonymous User

Reclaiming the unused memory by the invalid objects. Garbage collector is responsible for this process.


---

Original Source: https://www.mindstick.com/interview/1479/what-is-garbage-collection-what-is-the-process-that-is-responsible-for-doing-that-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
