title: Pass array by reference in Java
body: <p>Is it OK to pass an array as an argument in Java, like <code>int[5] &amp;result</code>?</p>
  <p>I want to pass the reference to the array because I want to change the array in the calling function. What would the syntax be?</p>