dimanche 6 mars 2016

Random generator number in java

I have one array like:

byte[] a = new byte[4];

Random rnd;

    rnd.nextBytes(a);

i want to know if each element of this array named a in decimal is from 0-255 or can be beyond this interval?




Aucun commentaire:

Enregistrer un commentaire