title: invalid method decl/illegal start of type/identifier expected/( expected java
body: <pre><code>public class Main {
  
      public static void main(String[] args) {
  
      }
      int highScorePosition = calculateHighScorePosition(1500);
      displayHighScorePosition(&quot;Joey&quot;, highScorePosition);
      
      public static void displayHighScorePosition(String playerName, int highScorePosition) {
          System.out.println(playerName + &quot; managed to get into position &quot; + highScorePosition + &quot;on the high scores!&quot;);
      }
  
      public static void int calculateHighScorePosition(int playerScore) {
          if (playerScore &gt; 1000) {
              return 1;
          } else if (playerScore &gt; 500 &amp;&amp; playerScore &lt; 1000) {
              return 2;
          } else if (playerScore &gt; 100 &amp;&amp; playerScore &lt; 500) {
              return 3;
          } else {
              return 4;
          }
      }
  }
  </code></pre>
  <p>and I'm getting errors :</p>
  <p>Error:(7, 9) java: invalid method declaration; return type required
  Error:(7, 34) java: illegal start of type
  Error:(16, 23) java:  expected
  Error:(16, 24) java: '(' expected</p>