Check out example codes for "array objects java". It will help you in understanding the concepts better.
Code Example 1
obj array[] = new obj[10];
for (int i = 0; i < array.length; i++) {
array[i] = new obj(i);
}
Learn ReactJs, React Native from akashmittal.com