Java Interview Question: finalize() method

Viewed 5258

I was given the following phrase in an interview:

The invocation of an Object's finalize() method is the last thing that happens before an object is garbaged collected.

I had to answer by:

  • True
  • False

I've chosen True but it was wrong. Can you please explain me why ?

6 Answers
Related