GIAC
GSSP-JAVA · Question #266
Which of the following statements can be used by a Programmer to suggest the JVM to perform garbage collection?
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #266. The question stem and answer options stay visible for context.
Question
Which of the following statements can be used by a Programmer to suggest the JVM to perform garbage collection?
Options
- ARuntime.getRuntime().freeMemory();
- BRuntime.getRuntime().totalMemory();
- Cnew Thread().destroy();
- DSystem.gc();
- ESystem.runFinalization();
- FSystem.setOut();
Unlock GSSP-JAVA to see the answer
You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.