#7 for loops bug


#1

Hello there,
I am not sure if there is a bug but I keep getting this error even though the code is legit.
I seem to be doing everything right because my array prints out on the screen but it won't let me go to the next exercise. I have tried to restart my code several times and now trying to delete whitespace but it still doesn't work.

Thanks in advance,
Kind regards

EDIT: Okay, I have 'passed' the exercise with this code but still not sure why did the bug occured...


#2

try againe, dude

for (int j = 0; j < weeklyTemperatures.size(); j++) {

System.out.println( weeklyTemperatures.get(j) );

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.