+ 1
I typed out the 1st java ExampleProgram exactly according to the instructions, but Command Prompt keeps saying 'error: cannot find symbol System.out.PrintIn(''Hello World");' Also, my command prompt directly opens the in the User menu, by default (C:\Users\...). I need help urgently. What do I do???
public class ExampleProgram{ public static void main(String[]args) { System.out.printIn("Hello World"); } }
4 Answers
+ 1
you use System.out.Println()
change to System.out.println()
small p is true
0
thats a weird error, i dont see anything wrong :/
0
for that command prompt part: First browse to your folder where your program is saved. Then press+hold Shift and then right click in your folder. you will see an option like "Open Command Window Here". choose this option and cmd will open at that location.
Now for Error part: Check if you have written println in small case letters only. because your error message is showing it as Println.
0
wow i actually missed that ._. and i work with that line of code alot.