Is there FOR ... IN ... loop in Java similar to Python one?
<p>I can iterate in array using Pythons for loops as</p>

<pre><code>arr = []
for e in arr:
    do smth. with each element
</code></pre>

<p>Does java has similar loop? If I will split the string in Java like this:</p>

<pre><code>temp = str.split(delimiter);
</code></pre>

<p>Will I have array which can be looped with "for ... in..." similar statement?</p>
