public class Random
extends java.lang.Object
Constructor and Description |
---|
Random()
Creates a new instance of Random
|
Random(int seed)
Creates a new instance of Random.
|
Modifier and Type | Method and Description |
---|---|
double |
rand()
Return the next random number in this series.
|