title: Using variable name as array index
body: <p>I have few files which I put in array. 
  I shuffle the files so that it can be displayed in random order. 
  How to know that array index 0 is actually image1.txt or image2.txt or image3.txt?
  Thanks in advance.</p>
  
  <pre><code>String[] a = {"image1.txt","image2.txt","image3.txt"};
  List&lt;String&gt; files = Arrays.asList(a);
  Collections.shuffle(files); 
  </code></pre>