According to my understanding. array will not be garbage collected because no matter you setted it to null when it was in the method f. when you come out of it it still holds three nulls, and an object array, which is still initialized.
Please tell me if I am right Bu? Because if i am right, then I have a clue for Fred that its something related to how an array is passed in the method as parameter, just think over it.
And I apologize in advance to Fred, if I am wrong.
So Bu please tell am i right or wrong?