![]() |
#2
kaosaier2016-09-24 20:16
回复 楼主 kaosaier
|

import java.util.Random;
class randomtest
{
public static void main(String[] args)
{
int x;
Random a = new Random();
x = a.nextInt(1)+100;
System.out.println(x);
}
}
class randomtest
{
public static void main(String[] args)
{
int x;
Random a = new Random();
x = a.nextInt(1)+100;
System.out.println(x);
}
}