DEVFYI - Developer Resource - FYI

Can an object be garbage collected while it is still reachable?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

254. Can an object be garbage collected while it is still reachable?

A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected..

(Continued on next question...)

Other Interview Questions