how to generate random number from array

Posted by Jessy on Stack Overflow See other posts from Stack Overflow or by Jessy
Published on 2010-03-27T00:22:12Z Indexed on 2010/03/27 0:23 UTC
Read the original article Hit count: 621

Filed under:
|
|
|

How to generate random number from an array? and not from a range.

int n [] = {1,7,3,5,8,10,33,12,18}

© Stack Overflow or respective owner

Related posts about java

Related posts about array