Hello, how would you assure that this code did not generate two identical random numbers? is an array of 6 rows and 10 columns to which I assign random numbers from 1 to 1000
int[][] num = new int[6][10];
for(int f=0;f<=5;f++){
for(int c=0;c<=9;c++){
num[f][c]=(int) (Math.random()*1000+1);
}
}