How to loop through objects?

Oh, and a quick question… so after I do this:

for(int i = 0; i < crops.length; ++i)
  crops[i] = new Crop(5);

Then I can do this?

crops[0].IncrementData();
1 Like