Home > DeveloperSection > Interviews > What is the use of Garbage collector

Posted on    July-15-2015 9:55 PM

 Java Java 
Ratings:
 1 Answer(s)
  365  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    July-15-2015 9:55 PM

For efficient memory utilization, Java uses Garbage collector. The main objective of the garbage collector is free up memory by detecting unused objects and deleting them. Garbage Collector gets invoked automatically and it won't assure required memory for a program to run.

Don't want to miss updates? Please click the below button!

Follow MindStick