IBM Exam Questions

Which statement explains how a Java Virtual Machine can have a memory leak despite having garbage co

Which statement explains how a Java Virtual Machine can have a memory leak despite having
garbage collection?

A.
Coding errors in Java prevent the garbage collection process.

B.
Garbage collection only cleans unused objects without references.

C.
Garbage collection is not given a chance to run when memory leaks occur in Java.

D.
The heap can contain large numbers of objects that are marked as non-recyclable which can
spawn garbage collection-proof objects.

Explanation: