Hi, I'm going to try to make my query as brief as possible because my code is very long. Please excuse me.
I'm trying to replace (set) an object in my array to null. Lets say my array is "numbers" and "item" is the index of a particular object in the array.
I tried:
numbers.set(item, null);
Is this correct? I get the error: "cannot find symbol - method set(int, <nulltype>)"
I have never used "null" before, so any feedback is certainly welcome, but from what I know, null does nothing to change the size of the array -- it simply makes the value an empty hole.