nerdexam
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)
  • A
    3% (2)
  • B
    7% (4)
  • C
    73% (44)
  • D
    17% (10)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice