22.6k views
19 votes
How should I go about fixing this error in Java?

System.out.printIn("E");
^
symbol: method printIn(String)
location: variable out of type PrintStream
1 error

User Jie Yang
by
4.4k points

1 Answer

6 votes

Answer:

use println with an L in stead of an I

Step-by-step explanation:

In this font, the capital i can lowercase L look very similar. If you paste this in notepad, you can see you typed "print in", with an i.

It should be with an L as in print line.

User StefanKarpinski
by
3.9k points