What do you expect if;


int arr[]=new int[10];
System.out.println(arr);

Look into your code and you will find it.