0
Why can I not do the "Hello World" code?
Can't do it, even though I type it in verbatim? What is happening?
10 ответов
+ 5
System.out.println --> not putln
+ 4
https://code.sololearn.com/cYrJkvYsHQA3/?ref=app
Did you really used l (l like letter, later) or did you use an I (like Island, Image)?
+ 3
Can you explain your problem in more detail?
Do you have problems with the syntax? Or with the code playground?
Language = Java?
+ 3
Can you add your code here, so I can see it? Thx.
+ 3
Pix22 Thats wrong.
In capital letters it would looks like: PRINTLN --> println
+ 3
Pix22 Yep. You are not the first person who had trouble with this.
+ 1
India
Edit: A tad embarrassing that a stupid font issue between i and L is what gave me so much trouble
0
Yeah, it's java. It says syntax, even though, as the question says, verbatim.
0
class MyClass {
public static void main(String[ ] args) {
System.out.putIn("Hello World");
}
}
Edit: It claims the "." next to "put" is the error specifically.
0
..\Playground\:4: error: cannot find symbol
System.out.printIn("Hello World");
^
symbol: method printIn(String)
location: variable out of type PrintStream
1 error