https://www.ionos.com/en-ie/digitalguide/websites/web-development/java-for-each-loop/
How to use for-each loops in Java - IONOS
The for-each Java loop is an effective method for traversing arrays. In this article, we explain the structure and purpose of the loop.
how to useloops in javafor eachionos