title: return two variables from one method
body: <p>How to write the following code correctly?</p>
  
  <pre><code>public String toString(int[] position, int xOffset, int yOffset) {
      String postn = String.format("[%d,%d]", position[0], position[1]);
      String movm = String.format("[%d,%d]", xOffset, yOffset);
  
      return (postn, movm);
  }
  </code></pre>
  
  <p>Following error came up </p>
  
  <pre><code>movm cannot be returned.
  </code></pre>