I am currently in your Ultimate Java course part 1, the For Each Loop section and run into the following problem.
As you can see the “For” and “For Each” loops run as expected. But the third loop gives the following exception. Hovering over the highlighted “x > 0”, informs me that this statement is always true.
Using the latest Java JDK and InteliJ editor.
Thank you in advance!