final class Math
Package :
(default package)
Description :
Native Math class. Only a few new methods added.
Methods :
final new()
Creates a new final Math object.
public static rand(min, max, int)
Generating a random number between the specified bounds.
Parameters :
- min : The lower bound.
- max : The upper bound
- int : If set to true, casts the result to the closest integer.
Returns :
The generated number.