I'm making a Fixture Generator and need to generate random matching of items (teams) each time a button is clicked.
I m using a static String Array to hold the teams inputed by the user.
String s[]=new String[3];
s[0]="team1";
s[1]="team2";
s[2]="team3";
How can I shuffle this array?
Is it possible to get every possible combination of strings?