GIAC
GSSP-JAVA · Question #56
GSSP-JAVA Question #56: Real Exam Question with Answer & Explanation
The correct answer is B. System.gc();. See the full explanation below for the reasoning.
Question
Which of the following is the correct syntax for the JVM garbage collection?
Options
- ASystem.out.gc();
- BSystem.gc();
- CSystem.free();
- DSystem.setGarbageCollection();
Community Discussion
No community discussion yet for this question.