title: My program is not computing the right output, and I'm not sure why
body: <p>I've been staring at this program for hours, maybe a second perspective could help. </p>
  
  <pre><code>import java.util.Arrays;
  import java.util.Random;
  
  public class Examples
  
  {
  private int numbers[]; 
  private String result;
  
       public Examples()
          {
       numbers = new int[10];
           Arrays.fill(numbers, 42);
          } 
  
          public Examples(int[] array)
          {
          numbers = Arrays.copyOf(array, array.length);
          }
  
  
   public void setNumbers (int numbers) 
      {                                           
      this.numbers = new int[numbers];
      }
   public int [] getNumbers()
   {                                      
      return numbers;
   }
  
  
  
  public  String toString()
  {
      String result = new String();
      int i;                                  
      for (i = 0; i &lt; numbers.length; i++)
          result = numbers + "\t";
          return result;
  }
  </code></pre>
  
  <p>I'm supposed to create a class that stores integer and then prints out a certain output depending on what static void main method I am provided with. The one I am currently on is,</p>
  
  <pre><code>{
     public static void main( String [] args )
     {
        int i;
        FunkyNumbers funNumbers, moreFun;
  
        System.out.println("FunkyClientA:");
        System.out.println("Test default constructor and toString method");
        System.out.println();
  
        funNumbers = new FunkyNumbers();
        System.out.println("toString result from funNumbers:");
        System.out.println( funNumbers.toString() );
        System.out.println();
  
        moreFun = new FunkyNumbers();
        System.out.println("toString result from moreFun:");
        System.out.println( moreFun.toString() );
  
     } // end of method main
  
  } //
  </code></pre>
  
  <p>The result is supposed to be 
  Test default constructor and toString method</p>
  
  <p>toString result from funNumbers:
  42  42  42  42  42  42  42  42  42  42</p>
  
  <p>toString result from moreFun:
  42  42  42  42  42  42  42  42  42  42</p>
  
  <p>however I get,
  Test default constructor and toString method</p>
  
  <p>toString result from funNumbers:
  [I@6e1408   </p>
  
  <p>toString result from moreFun:
  [I@e53108    </p>