title: java non-static method getBalance cannot be referenced from a static context
body: <p>I'm trying to refer to a method in another class and use that in a return statement in my other class. At the moment, all I get is the following error: non-static method getBalance cannot be referenced from a  static context. Any help would be greatly appreciated</p>
  
  <pre><code> public void bob()
     {
       return "Accountno.:" + super.toString() + Account.getBalance();
     }
  </code></pre>