Loop Counter
A numeric variable used to track loop repetitions or positions.
What is Loop Counter in Java?
Loop Counter — A numeric variable used to track loop repetitions or positions.
class Schedule {
void markThreeDays(boolean[] scheduled) {
for (int day = 0; day < 3; day++) {
scheduled[day] = true;
}
}
}
Level: Apprentice · More Java terms at this level
Updated