How to get a 50/50 chance in random generator December 29, 2023 by Tarik One way: fill an ArrayList<Integer> with fifty 1’s and fifty 2’s and then call Collection.shuffle(...) on it.