I am developing a quiz game, where I have to get random activities on answering the questions as to avoid the questions in same order. I have fixed this by using switch
Create an ArrayList (or a List simply) and add all your Questions to it. Remember this only holds the questions for shuffling. Do not use it for any other purpose.
Then do a shuffle using Collections.shuffle(question).
Ask the question on top (question.get(0));
After this has been answered remove it from the List. This will ensure it is never shown again.
Repeat steps 2 - 5 till your List size is greater than zero.