Complier returns error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Complier returns error

public class ExampleProgram{ public static void main(String[]args){ System.out.printIn("Hello World"); } } I have the code typed as indicated in the lesson, but I am receiving the following error when compiling. error: cannot find symbol It is stopping because of the . between out and printIn symbol: method printIn(String) location: variable out of type PrintStream

4th Oct 2016, 1:55 PM
Kathy
1 Answer
0
I found the mistake - typo.
4th Oct 2016, 2:41 PM
Kathy