damn id tried this many times the result is error! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

damn id tried this many times the result is error!

Copy this and run to code plaground. class MyClass { Public static void main(string[ ] args) { System.out.Println("Good Job") ; } // comment to those who got a same output of me }

24th Jul 2017, 3:13 PM
Judee Worst
Judee Worst - avatar
3 Answers
+ 1
You have to write String[] args, not string [] args
24th Jul 2017, 3:36 PM
Jonas Schröter
Jonas Schröter - avatar
0
and Println is wrong. It should be println.
24th Jul 2017, 3:38 PM
Jonas Schröter
Jonas Schröter - avatar
0
and Public has to be public.
24th Jul 2017, 3:39 PM
Jonas Schröter
Jonas Schröter - avatar