Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You mean, pick more than one random element from a list ? Again, your question is not really Java, it is more about the algorithm. There are multiple ways depending on the size of the list, the count of needed items, whether the original list is disposable. Some possible approaches :frankcpl said:anyone explain how to randomly pick from a list without having duplicates.