摘要
介绍了在Java中利用Random类生成重复随机数的方法,并使用具体实例进行了分析比较,最终得到了生成不重复随机数的代码实现。
This article introduces the method to generate repeated Random number by using the Random class in Java lan- guage, Analysis and comparison are made by using specific examples, And eventually achieved the code of generating non repetition Random number.
出处
《电脑编程技巧与维护》
2014年第10期17-17,39,共2页
Computer Programming Skills & Maintenance