I understand that new for each loop works with Iterable and arrays, but I don\'t know what goes behind the scenes when working with arrays.
Can anyone help me under
IntStream.range(1,4) can be used, if using java 8.
IntStream.range(1,4)