New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
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?
0 Votes
7 AnswersError in random function
0 Votes
4 AnswersIf except can handle common errors very well, doesn't that make the use of raise redundant inside of a try-except block?
For example:
try:
print( 5 / 0 )
except ZeroDivisionError:
raise ValueError("An error occurred!")
What's the difference if we handle it this way:
try:
print( 5 / 0 )
except (ZeroDivisionError, ValueError):
print("An error occurred!")
3 Votes
2 AnswersI 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???
1 Vote
4 Answerserror in code
0 Votes
5 AnswersIndentation errors...
1 Vote
5 AnswersJavac not recognised
1 Vote
3 Answerserror in the program..
1 Vote
3 AnswersHot today
Code Playground
0 Votes
xampp
0 Votes
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
Editor HTML
0 Votes
How to solve this
0 Votes