title: Error in java method?
body: <p>I have some simple java code to call a method with a value to calculate the volume. I just get error like missing ; in JCreator? What is wrong? This is new beginners non object programming level course. Therefore i guess there should be no public static in the method?</p>
  
  <pre><code>public class Matematik {
  
  public static void main(String[] args) {
  
  System.out.println(volym(10));
  
      double volym(int tal){
  
      return round((4 * math.pi * math.pow(tal,3) / 3),2);
  
      }
  
  }
  </code></pre>
  
  <p>}</p>