GIAC
GSSP-JAVA · Question #7
Which of the following methods is used to request that any pending finalizers be run for objects eligible for garbage collection?
The correct answer is C. runFinalization(). See the full explanation below for the reasoning.
Question
Which of the following methods is used to request that any pending finalizers be run for objects eligible for garbage collection?
Options
- AfreeMemory()
- Bgc()
- CrunFinalization()
- DrunFinalizers()
How the community answered
(60 responses)- A3% (2)
- B7% (4)
- C73% (44)
- D17% (10)
Community Discussion
No community discussion yet for this question.