Hi,

I am running below example

http://www.avajava.com/tutorials/lessons/how-do-i-generate-a-random-int-in-java.html
i got output as

random integer:-2143199807

random integer:128861668

random integer:1688911854

random integer:-1021991149

random integer:69006493

random integer:110974251

random integer:846899949

random integer:1052181148

random integer:-1013327507

random integer:1169652165

random integer from 1 to 5:5

random integer from 1 to 5:1

random integer from 1 to 5:1

random integer from 1 to 5:5

random integer from 1 to 5:2

random integer from 1 to 5:2

random integer from 1 to 5:4

random integer from 1 to 5:5

random integer from 1 to 5:5

random integer from 1 to 5:4

I wonder what is the meaning of above output. Esp like 5:6 etc.

What are the practical uses, purpose of random integer values.

please advise

Any links resources ideas highly appreciated. Thanks in advance

e.g.

the random value generated in that range was 2