title: while loop illegal start of type problems
body: <p>Hey i am getting error that stats that it is an illegal start of type at the start of the while loop:</p>
  
  <pre><code>public class hello {
  
      public static void main (String [] arg) {
          int sum1=sum(7, 13);
      }
  
      public static int sum(int x, int y) { 
          int z=0;
      }
  
      while (y &gt; 0) {
          z = z + x; 
          y--;
      }
  
      return (z)
  }
  }
  </code></pre>