title: Iterate over Object
body: <p>I have an object <code>o</code> which I know for fact that it is an array of something.
  How do I iterate over <code>ȯ</code>?</p>
  
  <pre><code>Object o;
  if (o != null &amp;&amp; o.getClass().isArray()) {
    for (Object each : o) {  // compile error, of course
      System.out.println(each);
    }
  }
  </code></pre>