Here the number generation :
for( int i=0; i<3; i++) {
int randomNumbers = random.nextInt(10) + 1;
}
And here I can receive the same digits.
For example: 5,7,5
;
But I need to receive only different numbers: 5,1,9
.
Is it possible maybe with some little piece of code or I should write some method for it?