Java Random Class

Java random class is part of Java.util Package Classes. Java Random class is used to generate a stream of pseudorandom; also known as deterministic random bit generator.

 

Sample code with Java Random class

 

Click here to read more