34. Which of the following statements about Java garbage
collection is a true statement?
Check all correct answers:
A. The following code will start the garbage collector:
System.gc();
Thread.yield();
B. Calling Runtime.getRuntime().gc() will probably start
the garbage collection mechanism, but there is no guarantee.
C. The garbage collection Thread has a low priority.
D. The method by which Java determines that a chunk of memory
is garbage is up to the implementer of the JVM.