Returns a random number from 0-9 (both inclusive)
()
| 13 | * Returns a random number from 0-9 (both inclusive) |
| 14 | */ |
| 15 | public int randomDigit() { |
| 16 | return decimalBetween(0,10).intValue(); |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Returns a random number from 1-9 (both inclusive) |