Use method from another Class in Object from ArrayList
<pre><code>    ListIterator litr = PuntenLijst.listIterator();

    while(litr.hasNext()){
       Object Punt = litr.next();
       Punt.print();
    }
</code></pre>

<p>PuntenLijst is an ArrayList that contains object instances from another Class.</p>

<p>Now I have made a method print() that prints out something from that object (of the other class).</p>

<p>With this loop I try to loop through the ArrayList, and then use the print() method from the other class, but it doesn't not seem to be working.</p>

<p>Can anybody help me out?</p>
