KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've got two arrays of question and answers String questions[] = { "Q1?", "Q2?", "Q3?"}; String answers[] = { "A1?", "A2?", "A3?"}; I used Collections.shuffle(Arrays.asList(questions); to shuffle each arrays. How do I shuffle each array so that after shuffling they maintain same order?
Tags (comma-separated)
Save Edits
Cancel