Skip to main content

Random

Complete API reference for Random, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Math

Component: no


public class Random

Static Methods

SignatureReturnsDescription
range(int, int)intReturns a random integer value between min and max.
range(float, float)floatReturns a random float value between min and max.