title: Missing method body, or declare abstract in Java
body: <p>I'm new to Java and tried to get things running on my computer. </p>
  
  <p>A simple "hello world program" fails calling a method </p>
  
  <pre><code>class helloworld
  {   
      public static void main(String[] param)
      {
          helloWorld();
          System.exit(0);
      }
  
      public static void helloWorld();
      {
          System.out.println("hello world");
      }
  }
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>.\helloworld.java:11: error: missing method body, or declare abstract
         public static  void helloworld();
                             ^
  </code></pre>