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??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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"); } }

2nd Aug 2016, 3:39 PM
Noah Martins
4 Answers
+ 1
you use System.out.Println() change to System.out.println() small p is true
3rd Aug 2016, 7:39 AM
Mohammad Reza Karimi
Mohammad Reza Karimi - avatar
0
thats a weird error, i dont see anything wrong :/
2nd Aug 2016, 6:38 PM
Aquarius
Aquarius - avatar
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.
2nd Aug 2016, 10:51 PM
Rahul Kumar
Rahul Kumar - avatar
0
wow i actually missed that ._. and i work with that line of code alot.
2nd Aug 2016, 11:37 PM
Aquarius
Aquarius - avatar