Let's create a mix method:
public static String[] mix(String[] array){
Vector<String> data = new Vector<String>();
String[] result = new String[array.length];
for (String string : array)
data.add(string);
int count = 0;
while (data.size() > 0){
int pos = (int)(Math.random() * (double)data.size());
String next = data.get(pos);
result[count++] = next;
data.remove(pos);
}
return result;
}
Use this method to mix the array before you use it:
questions = mix(questions);