Error running Javac ExampleProgram.java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Error running Javac ExampleProgram.java

It is saying error in the line of code System.out.printIn("Hello World") and saying symbol: method printIn and location: Variable out of type PrintStream

21st Nov 2016, 11:05 PM
MrDietPeppsi
1 Answer
+ 3
Use a lowercase 'L' instead of an uppercase 'I' if you check those two: 1. System.out.printLn("Hello World"); //Right( just type the character L lower case) 2.System.out.printin("Hello World"); // you have typed the i in upper case
21st Nov 2016, 11:33 PM
( ͡° ͜ʖ ͡°)