title: Problems accessing public method of another class
body: <p>I currently use two classes, <code>ircBot(extends pircbot</code>) and <code>ircRobotti(extends Robotti)</code>.</p>
  
  <p>I'm trying to compile the class files on a shell but i'm getting an error:</p>
  
  <blockquote>
    <p>./ircBot.java:26: cannot find symbol symbol  : method lisaaJonoon(int)
    location: class Robotti
                                    annaRobo().lisaaJonoon(suunta);</p>
  </blockquote>
  
  <p><code>lisaaJonoon()</code> is defined in <code>ircRobotti</code> and it's public.</p>
  
  <p>Any ideas what might cause the error?</p>