all arrays default their element values to zero unless sepcified or untill assigned
This is true for arrays of primitive data types such as int, float, double, long. Each array element is given a default value; zero for those listed.
For objects (vis-a-vis primitives) such as Point, Rectangle, String the array elements are all null.
Each array element is accessed by the array index which starts at zero and goes up to array.length-1.
int[] n = new int[5];
Each element of this array has been initialized by java with the value zero. The elements are accessed as: n[0], n[1], n[2], n[3] and n[4].
String[] s = new String[3];
The array is allocated. Each element is null. You have to assign a value to each element.
For more on arrays you can try
Arrays.