For loop structure for arrays

If the data type is a primitive (int, float, boolean etc) or if the data type is an immutable class (Integer, Float, Boolean etc) then the answer is no.

1 Like