I am working for online examination project.
my work is to generate random number without repetition.
i tried and i am getting numbers to be repeated sometime....
I need to know how to check the repetition in the generated number.
random r=new random();