Fx.random:生成随机数
定义:Fx.random.nextInt() -- 随机生成任一整数
Fx.random.nextInt(int bound) -- 随机生成任一小于bound的非负整数
举例:
Fx.random.nextInt() Fx.random.nextInt(10)