title: What is "int..." in Java method's parameter?
body: <p>I came across a method definition:</p>
  
  <pre><code>void doType(int... keyCodes) {
    doType(keyCodes, 0, keyCodes.length);
  }
  
  void doType(int[] keyCodes, int offset, int length) {
    if (length == 0) {
      return;
    }
  
    robot.keyPress(keyCodes[offset]);
    doType(keyCodes, offset + 1, length - 1);
    robot.keyRelease(keyCodes[offset]);
  }
  </code></pre>
  
  <p>The "int..." seems to indicate an indeterminate number of integer parameters but the variable is used as an array inside the function. Can someone please explain?</p>