Initializing_Array[] ia = new Initializing_Array[10];
You have created 10 reference of type Initializing_Array
It doesnt mean 10 objects of Initializing_Array.
So you have to create Object and assign to these refence, then only you able to set the values.
like