New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Syntax of foreach loop in java
2 Answers
+ 5
Check this: ( the syntax's mentioned here )
" For-each loop in Java"
https://www.geeksforgeeks.org/for-each-loop-in-java/
+ 2
https://www.sololearn.com/learn/Java/2209/