62,614
社区成员
发帖
与我相关
我的任务
分享
public class Class17_1 {
public static void main(String[] args) throws IOException {
PrintWriter file = new PrintWriter("Exercise17_01.txt");
Random r = new Random();
for (int i = 0; i < 100; i++)
file.print(r.nextInt(100) + " ");
file.close();
}
}