在n为整数的情况下,Math.random() * n和Random.nextInt(n)有什么区别?
n
Math.random() * n
Random.nextInt(n)
https://stackoverflow.com/questions/738629
相似问题