+ 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

6th Apr 2018, 11:39 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
3 Respuestas
6th Apr 2018, 11:54 AM
Tarantino
Tarantino - avatar
+ 5
MinatoOkazaki Thank you very much!!! Now I can start working on my first SoloLearn app : )
6th Apr 2018, 11:59 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
+ 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
6th Apr 2018, 12:03 PM
Tarantino
Tarantino - avatar