title: Basic Java homework
body: <p>I know this is simple but I don't really understand the question...</p>
  <blockquote>
  <p>Assume the signature of the method xMethod is as follows.
  Explain two different ways to invoke xMethod:</p>
  <pre><code>public static void xMethod(double[] a)
  </code></pre>
  </blockquote>
  <p>I thought to invoke a method you just do:</p>
  <blockquote>
  <pre><code>xMethod(myarray);
  </code></pre>
  </blockquote>
  <p>What could it mean by asking two different ways? Maybe I'm just looking into the question too much.</p>