sequence of garbage collection

Status
Not open for further replies.

digitalage

java is fun.
Hi
I have one doubt .
What if i have 2 objects of the same class created one after the other. Which one is going to be garbage collected first.
-i am not asking when? I am asking about the sequence.

thanks
:?:
????
 
Last edited:
Status
Not open for further replies.
Top Bottom