nerdexam
Oracle

1Z0-851 · Question #203

Which statement is true?

The correct answer is C. The finalize() method for a given object is called no more than once by the garbage collector. See the full explanation below for the reasoning.

Question

Which statement is true?

Options

  • AA class's finalize() method CANNOT be invoked explicitly.
  • Bsuper.finalize() is called implicitly by any overriding finalize() method.
  • CThe finalize() method for a given object is called no more than once by the garbage collector.
  • DThe order in which finalize() is called on two objects is based on the order in which the two objects

How the community answered

(37 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    84% (31)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-851 Practice