+ 4
The question I am going to ask is too long to fit here.
Does anyone have information about a Java method that returns random integer values? I saw them many times during Java challenges, but I keep forgetting. I really need this method to start working for my first SoloLearn app. Could anyone post the method and its syntax in the answer section? Sorry for long post
3 ответов
+ 5
MinatoOkazaki
Thank you very much!!!
Now I can start working on my first SoloLearn app : )
+ 3
Ibaadi Jaya , you are most welcome anytime.
It is not perfect , I could have removed the static declaration and created objects to call the methods but I just wanted a quick solution to answer your question. I hope it helps, I would suggest you play around with it to get the numbers you want and maybe to even look at the Random Class from the Oracle java docs