DEV Community

Cover image for Garbage collector in java
Mohmmadnikkah
Mohmmadnikkah

Posted on

Garbage collector in java

Hello friends🙋‍♂️

When we write code, Garbage Collector's job is to manage memory
And objects we don't use Identifies them And ,free the trash
This process is completely automatic
Waste is collected in a part of memory called heap.
Gc Garbage In the heap it detects objects that we do not need to clear.

Wait for the next posts🙋‍♂️😉👨‍💻

Write your own comments👇👇

Top comments (1)

Collapse
 
mohammadnikkhah profile image
Mohmmadnikkah

👏🙋‍♂️