Hi. I'm learning Java and I'm on first steps.but I have problem with hello world code! please help me, I'm so tired | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hi. I'm learning Java and I'm on first steps.but I have problem with hello world code! please help me, I'm so tired

I write my code in Netbeans IDE . When I write system.out.print("Hello world!);it shows this: Exception in thread"main"java.lang.runtimeexception: uncompiled source code. and The code underlined with red.please help me I'm so confused

22nd Feb 2020, 7:10 PM
Mohammadreza Eisapour
Mohammadreza Eisapour - avatar
4 Answers
+ 3
Your "Hello World!" Is missing an end doublequote and the first s in System is supposed to be capatalized. If something is still wrong post your code here so it's easier to see.
22nd Feb 2020, 7:22 PM
Odyel
Odyel - avatar
+ 2
"System" is written with an uppercase S for a start.
24th Feb 2020, 1:21 AM
Sonic
Sonic - avatar
+ 1
Sorry it's uncompilable on line5
22nd Feb 2020, 7:20 PM
Mohammadreza Eisapour
Mohammadreza Eisapour - avatar
0
you should also wrote an error name when you was writing this message. so the programmer will directly gives your answer.
22nd Feb 2020, 7:56 PM
M Hamid Jamil
M Hamid Jamil - avatar