Answers for "scala random number"

0

scala random number

val r = scala.util.Random
r.nextInt() //no max limit
r.nextInt(100) //max limit
Posted by: Guest on September-24-2021

Code answers related to "Scala"

Browse Popular Code Answers by Language