I am stuck in what problem i made here | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I am stuck in what problem i made here

I am a beginner just tryin to get past the first round LOOL I write this code class Myclass { public static void main(String[ ] args) { System.out.println("Hello world im learning"); } } And receive this error ..\Playground\:4: error: cannot find symbol System.out.print1n("Hello world im learning"); ^ symbol: method print1n(String) location: variable out of type PrintStream 1 error

24th Aug 2017, 6:40 AM
Tony Okafor Azuike
Tony Okafor Azuike - avatar
2 Answers
+ 11
no it's absolutely fine class Myclass { public static void main(String[ ] args) { System.out.println("Hello world im learning"); } } Output: Hello world im learning u must have written System.out.print1n() that time instead of System.out.println()
24th Aug 2017, 6:52 AM
P R
P R - avatar
24th Aug 2017, 6:52 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar