J2SE的随机联函数!!

来源:互联网 发布:美间软装软件下载 编辑:程序博客网 时间:2024/04/27 15:34

java.util.Random() = new Random();
   int num = nextInt(8);

错在哪里啊?

原创粉丝点击