Generate a random value by creating an instance of Random then ask it for its next value, which will be a value between 0 and 1 on a uniform distribution.
Random