My Hello world program doesn't work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

My Hello world program doesn't work

I am sure I wrote it correctly but the output says no output, I am working in this playground. Class MyClass{ Public static void main(String[]args) { System.out.printIn("Hello World"); } }

1st Oct 2016, 2:27 AM
Haajaru Mohamed Ibrahim
6 Answers
+ 2
the p is not suppose to be capitalized in public or the c in class public class Program { public static void main(String[] args) { System.out.println("Woooo"); } }
1st Oct 2016, 2:40 AM
Mythos
+ 1
write the class and public in lower case and give a gap between STRING[] AND args
1st Oct 2016, 7:14 AM
safial islam
safial islam - avatar
0
post your code and we can help.
1st Oct 2016, 2:32 AM
Mythos
0
(String[] args){
1st Oct 2016, 4:56 AM
udara
udara - avatar
0
you save as MyClass.java and compile it
1st Oct 2016, 4:57 AM
udara
udara - avatar
0
String args[] try this
20th Mar 2017, 9:54 AM
udara
udara - avatar