You have to declare the variable and set it with the result you get from using the Random class.
Type: Posts; User: helloworld922
You have to declare the variable and set it with the result you get from using the Random class.
You need to actually generate the random number and only print out the specific element.
To generate a random number:
Random Class
To print out a specific element of an array list:
...