Removing indexes from an array.
Okay, i wasn't sure if this should go in "new to java" or "advanced java" as i'm not sure how complicated the code will be.
Basically say i have an array of type "TetrisBox" and i want to get rid of, say 10 of them(see where this is going? lol). the problem is that these arrays aren't in order, so it leaves index holes and i'm not to sure what to do about it.
I was thinking of writing a method to do it, but i'm not even sure if objects are passes by reference or by value, and it would seem like a complicated method.
Is there an easy way to do this in Java??