what does java math.random do? code example Example: java math.random int rand = (int)(Math.random() * range) + min;