title: How can I use a local variable to use a method from another class in BlueJ?
body: <p>Basically I have two classes Country and City. In city I have a method called getSize. I want to use this method in the Country class so I tried using this:</p>
  
  <pre><code>City c = City.getSize(); 
  </code></pre>
  
  <p>To store the method as a local variable but I either get an error about incompatible types or static methods? </p>