title: printing elements of array in arraylist in java
body: <p>I do have this code, and I would like to print out all the array's values of Arraylist.
  thanks for your help in advanced.</p>
  
  <p>here is my code:</p>
  
  <pre><code>for (int i = 0; i &lt;count; i++) {
          System.out.println("list #" + i);
          for (int j = 0; j &lt; list[i].size(); j++) {
              list[i].get(j);
  
              System.out.println("elements of array in arraylist "+list[i].get(j));
  
  
          }
      }
  </code></pre>