title: Make a random array and print it one by one
body: <p>I want to make a random array and print it over one by one. But I need to print all of it without make any duplicate. I've try to adding it into list but it seems fail.</p>
  
  <p>My Code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>String quest1 = "5x5#5*10#8/4"
  String[] quest = quest1.split("#");
  
  ArrayList &lt;String&gt; question = new ArrayList&lt;String&gt;();
  question.add(quest[0]);
  question.add(quest[1]);
  question.add(quest[2]);
  
  
  Random rand = new Random();
  int id = rand.nextInt(question.size());
  System.out.println(question.get(id));
  question.remove(id);</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to print 5x5 5*10 8/4 but in random order and I want to print each of it without print it again.</p>