title: Use variable to access multiple objects
body: <p>I would like to be able to access objects in a for-loop as follows:</p>
  
  <pre><code>for (int i=0; i&lt;5: i++)
  { object[i].doSomething(); }
  </code></pre>
  
  <p>However the syntax around the <code>object[i]</code> part escapes me.</p>