If you had generated the number 3 it would have been OK.
Hey Maulin, I was going to try that, but I thought I could be slick and use the arraylist to do it for me. I think with that method, I wont even need to check the random number. I can just add the num1 to the end of the duck object.
Originally posted by Donald R. Cossitt:
So, just how would one 'force' a sequential number from a 'random' event (so much for random walk theory)? This would lead me to ask the question: is this approach taken the best one?