title: Remove a specific string from an array of string
body: <p>I have an array like this:</p>
  
  <pre><code>String n[] = {"google","microsoft","apple"};
  </code></pre>
  
  <p>What I want to do is to remove "apple". </p>
  
  <p>My problem is very basic,however,I searched the website and I found out that java doesn't really support the deleting feature from an array.I also heard to use Java Utils, because it's so simple to remove an item....I tried to find Java Utils on google, but almost all links are dead.</p>
  
  <p>So finally...is there any way to remove a string from an array of string?</p>
  
  <p>Even if I use an ArrayList I can't find a method to generate a random item in it! For ex: in a normal array I generate a string like this:</p>
  
  <pre><code>String r = myAL[rgenerator.nextInt(myAL.length)];
  </code></pre>
  
  <p>In an arraylist it doesn't work....maybe you know a solution...</p>