Hi!
I found this question in one of the mock exams.
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.
The answer is a,b,c.
Please explain.
Thank you
Porchelvi