mercredi 13 janvier 2016

How to find an integer that has been chosen randomly in Java? [on hold]

I have created an integer randomly.

Random def = new Random();
int d = def.nextInt(100)+1;

Is there a way to find take this integer and use it?




Aucun commentaire:

Enregistrer un commentaire