6
Answers

Random Class

Ask a question
Administrator

Administrator

21y
1.6k
1
I have an array of numbers. The numbers CAN be non-sequential (1,2,3,5,15). What I want to do is to use the Random class to pick one of this numbers randomly. From what I have seen of the Random class, it only picks random numbers between two values (and it's not possible to exclude any specific numbers). Can anyone help. Thanks,

Answers (6)