title: How to iterate over Vector of Vectors
body: <p>How do I iterate over a Vector of Vectors in Java?
  I tried doing it like in C++ :</p>
  
  <pre><code>Vector&lt;Vector&lt;String&gt;&gt; elements = new Vector&lt;Vector&lt;String&gt;&gt;();
  // ...
  System.out.print(elements[0][0]);
  </code></pre>
  
  <p>But obviously that would not work. </p>