+ 1
double d = Math.random(); is useful for ?
why it is used ?
2 Respostas
+ 1
it is useful whenever you need something random ; result from a dice, peek a random item from a list, etc
0
it is used to create random numbers. especially used for giving a password to user.