Pregunta de entrevista de BlackBerry

Create an array of numbers and randomly shuffle them and without using another array select and card and not be able to choose it again.