Random card generation
<p>I need to randomly generate three cards from array i have the array of 52 cards names from card1 to card52</p>

<pre><code>String rank[]=new String[52];
for(int i=0;i&lt;rank.length;i++)
{
rank[i]= "card"+i;
}
</code></pre>

<p>Now i need to select three cards from the array and it should not be repetable.</p>

<p>can anybody help me. actually i m doing this bt cards are repeting.
pls provide me the sollution.</p>

<p>Thanks in Advance.</p>
