Random number



hello I am new to java very new and am hoping someone can offer me some help.

I know that i need to use java.util.Random somewhere to generate a random number

can anyone show me the code to do this very basic code to simply output the random number that has been generated to the console?

I would really appreciate this, I can work from there to expand on what i need ti to do

TIA

Christo

.



Relevant Pages