0
How do I get a random item from a list in java?
If I did a ArrayList in java with a couple of words (Like "hello" "hey" "bye") and I wanted to make the computer take a random word from the list, how do I do that?
2 odpowiedzi
+ 1
Hello Warrior,
I've just written a code for you. This is a solution. Check this out. :)
https://code.sololearn.com/cOvO89YGjoMC/?ref=app
0
Thank you