To tell you the truth, you would be much better off using an ArrayList, otherwise, place this code into a method that accepts an array and an element as arguments, and returns an array, then call this method for each element to be removed (is one fairly inefficent way). Or, place all elements to be removed in another array, then loop over the original array, and inside that, loop over the smaller array and comparing them (another ineffecient way).
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
http://java.sun.com/
Go to documentation, you'll find the Collections tutorials (as well as all the others) somewhere under there.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494