<p>Given an array of <strong>n</strong> Objects, let's say it is an <strong>array of strings</strong>, and it has the following values:</p>

<pre><code>foo[0] = "a";
foo[1] = "cc";
foo[2] = "a";
foo[3] = "dd";
</code></pre>

<p>What do I have to do to delete/remove all the strings/objects equal to <strong>"a"</strong> in the array?</p>

Make a
```
List
```
out of the array with
```
Arrays.asList()
```
, and call
```
remove()
```
on all the appropriate elements. Then call
```
toArray()
```
on the 'List' to make back into an array again.
Not terribly performant, but if you encapsulate it properly, you can always do something quicker later on.