title: Java syntax error on `System.out.println()` method call
body: <p>I'm sorry for the extremely short question, but i don't even know why i have this error:</p>
  
  <p><code>Syntax error on token "println", = expected after this token</code></p>
  
  <p>In this code:</p>
  
  <pre><code>static long start = System.currentTimeMillis();
  public void testSort5() {
      Random random = new Random();
      int number;
      int[] arr = new int[1000];
      for (int counter = 1; counter &lt; 1000; counter++) {
          number = 1 + random.nextInt(1000);
          arr[counter] = number;
      }
      int[] actual = MergeSort.sort(arr);
  }
  long end = System.currentTimeMillis();
  System.out.println("Execution time was " + (end - start) + " ms.");
  </code></pre>