Gere um número aleatório usando a Java Random classe.
Random rand = new Random();
rand.nextInt(Math.abs((firstChoice - secondChoice)) + 1) + Math.min(firstChoice, secondChoice);
https://github.com/amandafarrell/RandomNumberGenerator
Ainda não há avaliações ou classificações! Para deixares a primeira, por favor