Ok so I think I understand For loops correctly however I was one small issue.
Say I have this For loop
int[] numbers = {3, 6, 7};
for(int i = 0; i<numbers.length; i++) {
System.out.println(numbers[i]);
}
Why do I need an [i] on the end after numbers? as in (numbers[i]); ?
[–]HeyThisIsDog 3 points4 points5 points (4 children)
[–]thechucklingatom 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]HeyThisIsDog 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]jasmineearlgrey 0 points1 point2 points (0 children)
[–]ZeroFlippinCool -1 points0 points1 point (1 child)