title: Role of the garbage collector
body: <p>While reading a course on the garbage collector I understood that it removes unreferenced objects from memory, I tried to answer some questions in a quiz related to the subject and I found this question:</p>
  
  <p>The role of the garbage collector is to ensure that there is enough memory to run a Java program?</p>
  
  <p>Is it true or false? I know it manages memory, but does it guarantee that there is enough memory to run a program?</p>