If the individual elements of an int array are not initialized, what is stored in them by default? I apparently found that there is something like an empty array or a null a
By default java initialized the array according to type declared. It is int then it is initialized to 0. If it is of type object like array of object then it is initialized to null.