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

๐Ÿ‘๐Ÿ™‹โ€โ™‚๏ธ