So I’ve been experiencing in every lesson that I get an error for the line “System.out.printIn();”.
It doesn’t recognize the second dot in the line, just gives me this:
Temperatures.java:12: error: cannot find symbol
System.out.printIn( weeklyTemperatures.get(1) );
symbol: method printIn(Integer)
location: variable out of type PrintStream
Now I get this every time with this same particular line. I tried writing the dot with different languages, like using the UK English keyboard, the US English keyboard and my own language, Estonian, which I primarily use.
It had no effect, I still got this error. The only way I can get past these exercises is by copying the same line from the exercise description.
Why am I getting this error and how can I avoid it? I don’t want to be copying this line every time.