title: How does primitive array work with new for each loop in Java?
body: <p>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. </p>
  
  <p>Can anyone help me understand this?  Thanks in advance.</p>
  
  <pre><code>int[] number = new int[10];
  
  for(int i: number) {
  
  }
  </code></pre>