title: Get method for int Array
body: <p>I have an array of <code>int [] scores = new int[SCORES];</code> where <code>SCORES = 5</code> and I want to create a method that will return my array of my <code>int</code>. Is it possible with a get method? With a <code>String</code>, <code>getScore</code> works fine but what about an <code>int [] getScore</code>?</p>
  
  <pre><code>public String  getScore() {
      String i = "";
  
      for (int scoresIndex =0; scoresIndex&lt; scores.length; scoresIndex++)
          i += scores[scoresIndex]+"   ";
  
      return i;
  }
  
  
  public int [] getScores() {
      ////_____////
  }
  </code></pre>