|
You are using arrays. You can not remove an element from an array. You can only change its value.
If you really want to remove an element in an easy way, then use ArrayList or a Vector instead of array. But if you still want to use arrays, you will need to recreate the new array without the element removed as momo97 told.
|