samedi 19 mars 2016

Maximum range in Random function in java

At this Random function in java

Random rndm = new Random();
    for (int i = 0; i < 10000; i++)
    {
    myarray.add(i, rndm.nextInt());
    }

i want to know if there is no range ,what is the maximum range of Random Function for integer and for long




Aucun commentaire:

Enregistrer un commentaire