I have here a simple question related to Java. Let\'s say you have an int array as instance variable:
int[] in = new int[5];
So, now by def
For primitive type arrays it is initialized to their default values. In the documentation it says :
a single-dimensional array is created of the specified length, and each component of the array is initialized to its default value
For the integer type default value is 0.