title: Java Int[] Array returning bytes. Why?
body: <p>//turns a string of integers into an int[] array
  // reversed is the name of the string of integers</p>
  
  <p>Here is the code:</p>
  
  <pre><code>    public int[] makeintArray(){
            intArray = new int[reversed.length()];
            for (int i = 0; i &lt; reversed.length(); i++){
                intArray[i] = reversed.charAt(i) - 48;
                System.out.println("int " + i + " is " + intArray[i]);
    }
    System.out.println("IntArray is: " + intArray);
    return intArray;
  </code></pre>
  
  <p>}</p>
  
  <p>//Whenever I run this I get the integer array returned as "cf814a82@I[" rather than [3, 3, 8, 2, 3, 8, 2, 8]</p>