title: How can Scala receive multiple parameters in a method definition?
body: <p>Java has:  </p>
  
  <pre><code>public void someMethod(int ... intArray) { // question: what is the equivalent to "..." 
      // do something with intArray
  }
  </code></pre>
  
  <p>how can I achieve the same functionality in Scala? That is, passing an undefined number of parameters to a method?</p>