title: Array is printing char elements instead of int elements
body: <p>I am trying to create an array of int elements, however its giving me char elements. whats going on?</p>
  
  <pre><code>import java.util.Scanner;
  public class Assignment5a {
  
      public static void main(String[] args) {
          Scanner input = new Scanner(System.in);
  
          int x[] = new int[1500];
          //create an array of numbers 2 to 1500
          for (int i=2; i&lt;15; i++){
              x[i] = i;
          }
  
          System.out.println(x);
  </code></pre>
  
  <p>this is what I have. Any help is appreciated.</p>