Java Random() | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Java Random()

Can someone explain to me how to change the values of which the random is between. Like say I wanted to get only whole numbers between 0-34 or 5-29 using Math.random(); Thanks!

11th Aug 2018, 3:36 PM
Nick Johnson
Nick Johnson - avatar
1 Antwort