Learned that Java does not use the keywords foreach like C# does ..it uses for(type var: array) and its called an “Enhanced For Loop” Other than that it’s the same. Solved coding challenge for finding the max number in an array for practice.
Again, https://www.geeksforgeeks.org/java-for-loop-with-examples/ has the best diagrams I could find.
Post header is from: https://www.examtray.com/java/last-minute-java-enhanced-for-loop-break-continue-tutorial
Not to be confused with a For Loop in Java