Which is false about garbage collection in java

  1. the heap space occupied by an un-referenced object can be recycled and made available for subsequent new objects

  2. When the total memory allocated to a Java program exceeds some threshold the garbage coollector is invoked

  3. the program does not suspend during garbage collection

  4. garbage collection requires extra memory


Correct Option: C

Find more quizzes: