title: pass an array object in a parameter
body: <p>I am new to java, I would like to know, how can we pass an array object as a parameter to a method.Lets say if I have:</p>
  
  <pre><code>public void sortArray(A[7])
  </code></pre>
  
  <p>What should I put in between the parenthesis? Should it be <code>A[length of array]</code> or what?</p>