Sure, you can do it, I looked into the Java API documentation, and even though you can't modify the size of the array that you are deleting from, you can just shift all the elements so you have an empty space at the end. Like so:
Code:
int[] ary = { 1, 2, 3, 4, 5 };
int elementIndexToDelete = 2;
for (int i = elementIndexToDelete; i < ary.length - 1; i++) {
ary[i] = ary[i+1];
}
ary[ary.length - 1] = 0;
This would make the 3 dissapear. I'm not sure about the empty space at the end though, don't know if you can get rid of that somehow. I suppose you could just keep around a local variable called size to let you know how big it really is...because length won't change.
For the dynamic capability, Java includes something called Vector, look into it, it allows stuff to be removed from it, but you might have to initialize it differently than you do. It is similiar to the STL in C++ and is a collection framework.
The Documentation
This is my best guess, hope it helps.
Ted Morse