What is the difference between Math.random() * n and Random.nextInt(n) where n is an integer?
Math.random() * n
Random.nextInt(n)
n
According to https://forums.oracle.com/forums/thread.jspa?messageID=6594485 Random.nextInt(n) is both more efficient and less biased than Math.random() * n