I have some doubt about the following question.
Which of the following statements about
Java's garbage collection are true?
a) The garbage collector can be invoked explicitly using a Runtime object.
b) The finalize method is always called before an object is garbage collected.
c) Any class that includes a finalize method should invoke its superclass' finalize method.
d) Garbage collection behavior is very predictable.
I think b, c.
The finalize() method will eventually be called on every object -true or false.
Ans is given False, there is no guarantee that an object will be GCed.
I think it's true.
Please correct me if I am wrong.
Thanks