0

Why can I not do the "Hello World" code?

Can't do it, even though I type it in verbatim? What is happening?

16th Mar 2019, 11:21 PM
Pix22
10 Antworten
+ 5
System.out.println --> not putln
16th Mar 2019, 11:42 PM
Denise Roßberg
Denise Roßberg - avatar
+ 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)?
16th Mar 2019, 11:53 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Can you explain your problem in more detail? Do you have problems with the syntax? Or with the code playground? Language = Java?
16th Mar 2019, 11:34 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Can you add your code here, so I can see it? Thx.
16th Mar 2019, 11:39 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Pix22 Thats wrong. In capital letters it would looks like: PRINTLN --> println
16th Mar 2019, 11:58 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Pix22 Yep. You are not the first person who had trouble with this.
17th Mar 2019, 12:03 AM
Denise Roßberg
Denise Roßberg - avatar
+ 1
India Edit: A tad embarrassing that a stupid font issue between i and L is what gave me so much trouble
16th Mar 2019, 11:55 PM
Pix22
0
Yeah, it's java. It says syntax, even though, as the question says, verbatim.
16th Mar 2019, 11:36 PM
Pix22
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.
16th Mar 2019, 11:41 PM
Pix22
0
..\Playground\:4: error: cannot find symbol System.out.printIn("Hello World"); ^ symbol: method printIn(String) location: variable out of type PrintStream 1 error
16th Mar 2019, 11:46 PM
Pix22