For the code
int []arr = new int[4];
System.out.println(arr);
The output looks something like
[I@54640b25
What exactly is the compiler printing out? The memory address of arr? Unlike C, Java does not seem to equate the array name (in isolation) with the first position of the array.