Hi i am trying to generate a 5 digit int array in java and am having trouble on where to start. None of the numbers in the array can be duplicates. i can generate random numbers for it fine but just cant figure out how to compare the numbers to each other and replace any duplicates.
thanks