求解呀,各位大神麻烦帮忙给个思路和解决的代码
import java.util.Random;
public class SHUZU {
public static void main(String[] args) {
int[] arr1 = new int[10];
int[] arr2 = new int[10];
for (int i = 0; i < arr1.length; i++) {
for(int j = 0;j< arr2.length;j++) {
Random r = new Random();
int ran = r.nextInt(10);
}
}
}