Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
calpaterson
· 15y ago · 0 comments
I actually struggle to understand why people even use Math.random() when the Random class exists.
Comments
[–]
nostrademons
15y ago
Don't need an import for Math.random(). Random is in java.util, while Math is in java.lang.
[–]
Dilpil
15y ago
Alot of people probably look for Random but find Math.random().