1/13


#1



what is wrong


Replace this line with your code.


#2

Sure would appreciate if you did that, instead of posting a picture. Please include a link to the exercise, as well. Thanks.

As for the highlighted code, I'm not sure a space character is allowed in that or the previous mention of same at left.


#3

the issue is that the instructions say "Inside of the main method and before the for each loop, create an ArrayList called sports that stores String types."
however when i did that it says that there is a mistake

`ArrayList <String> sports = new ArrayList <String>();
		for(String sport : sports) {

		}

that is the only for loop that is not commented


#4

Should this be written,

ArrayList<String>

and,

as,

new ArrayList<String>()

?


#5

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