New course! Every coder should learn Generative AI!
Try a free lesson0
I've been trying to make first example program work for about an hour now and I've re-typed it multiple times but it still gives me the same error ExampleProgram.java:3: error: cannot find symbol System.out.printIn("Hello World"); And the arrow is pointing at the period (.) after out. Anyone can help me?
public class ExampleProgram{ public static void main (String[]args){ System.out.printIn("Hello World"); } }
7 Answers
+ 6
Man your code confused me for a bit, then I copy pasted it and it became obvious. Your I in println is wrong. Keep in mind, it's short for PRINT LINE, so PRINTLN. I'm capping so you can see the correct letter. PRINTiN is what your code has. just change the i to an l
+ 1
i also tried that's why i saying just try to edit prinln you got the ans...
0
just re write the println ... their is a mistake...
0
there's no error, it's a good start. there might be some problem with your phone or while installing the application.i have tried exactly the same program of yours and it runs successfully.
0
i've the same issu, and I resolved modifying this lines
...(string args [])
...printIn ("hello word");
- 1
you to have included the import statement
import java.io.*;
which will include input output package.. this package has these System.out.println(" ");
Here System is a class
. will invoke the class System
out is an object
. will invoke the object out
println() is a function
- 2
you have written a wrong symbol "void main "{".type a"(" instead of that.i think it will run then