a little problem is their
i want the random no. not to be repeated
for example --- a,f,d,u,i,i
Use a List object instead of the Array object ; then you can remove objects from the list as they are used. You will also then need do something about when the list becomes empty.