There's no toString() method for arrays defined to print out all the elements. You must manually print out the contents of the array yourself.

int a[] = {1,2,3,4};
for(int i = 0; i < a.length;...