Further to helloworld922's contribution,
Assuming 'generator' is an instance of
java.util.Random
int index = generator.nextInt( n ), where 'n' is the length of your arraylist.
Then print...
Type: Posts; User: okello
Further to helloworld922's contribution,
Assuming 'generator' is an instance of
java.util.Random
int index = generator.nextInt( n ), where 'n' is the length of your arraylist.
Then print...