I keep getting the same error on my "." (PrintScreen)


#1

Can anyone point out if I am doing something wrong here or if it is a bug? I keep getting an error on my "." but if I copy and paste the code "System.out.printIn" from the example, I can pass the section. It happens on almost every lesson. Am I missing something?
Thanks in advance;


#2

What happens if you do this?

System.out.println(int, weeklyTemperatures.get(3));

I haven't tested this, so I'm asking you.


#3

From the looks of it, it looks like you are typing the part "println" with a capital i, whereas it should be a lower case L.

println is read as "print line".

Hopefully that helps and my eyes aren't deceiving me. :sweat_smile:


#4

Oh to have the eyes of a teenager. Good catch.


#5

Haha I feel like such a noob. Yes, I have been using a capital i instead of an l.
Thanks for clearing that up for me.