Write to disk file incorrect
<p>I would like to write out the values of my array to a file.  </p>

<pre><code>public void Write(String fileName) throws IOException
{

    PrintWriter outFile;
    outFile = new PrintWriter(new FileWriter(fileName));

    for(int K = 0 ; K &lt; CurrentCount ; K++)
        outFile.println(List[K].toString());

    outFile.close();
}
</code></pre>

<p>The data entered into the file was:  WeatherStation@1194a4e</p>

<p>The WeatherStation class has my constructor and get and set methods</p>

<pre><code> List[K] = new WeatherStation(Location, Temp, Title, Air, Pollen);
</code></pre>

<p>I was expecting all of the attributes above to get placed into the file.</p>
