3 ms·
I actually struggle to understand why people even use Math.random() when the Random class exists.
by calpaterson 16y ago
I actually struggle to understand why people even use Math.random() when the Random class exists.
- Dilpil 16y agoAlot of people probably look for Random but find Math.random().
- nostrademons 16y agoDon't need an import for Math.random(). Random is in java.util, while Math is in java.lang.