Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String[] questions = new String[60];
- int j = 0;
- int k = 0;
- for(int i = 0; i < 20;i++){
- for(; j < (k+3); j++){
- Random r = new Random();
- int rI = r.nextInt();
- while(rI%2 != 0){
- rI++;
- }
- questions[j] = arrays[i][rI];
- }
- k = j;
- }
- return questions;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement