How to print the strings in an array?
<p>At the moment I have an array of </p>

<pre><code>public Module[]moduleArray = new Module[4];    
</code></pre>

<p>and to output it i'm using </p>

<pre><code>public void displayModules()
 {
    for (int i = 0; i &lt; moduleArray.length; i++)
    {
       System.out.println(moduleArray[i]); 
    }        
 }
</code></pre>

<p>However it's outputting </p>

<blockquote>
  <p>Module@1f5e4ae5<br>
  Module@67871079<br>
  null<br>
  null  </p>
</blockquote>
