new Random()结果相同问题

new Random()的时候一定要加种子,要不靠机器时钟太不靠谱了,动不动就给你返回一堆一样的,或者提前实例化也行(推荐这个)


http://topic.csdn.net/t/20040810/00/3258097.html

原文地址:https://www.cnblogs.com/pipizhu/p/2110442.html