mercredi 18 novembre 2015

Meaning of random.nextInt(12*4+2)

so once again we were given code bites we should use and this one I don't really get the sense of:

int r = random.nextInt(12*4+2)

Is there any difference to random.nextInt(50) ? I'm a bit confused...

Thanks in advance,

ShortRouter




Aucun commentaire:

Enregistrer un commentaire