B4Coder
0%
LessonAbout 6 min

Chapter 5 · Lesson 4 of 5

04. The for-each loop

for (type value : list) visits every value in an array or ArrayList, without counting positions.

Opening the lesson…