0
Why this code is not working? Pls reply me is there anything wrong.
class MyClass { public static void main{String[ ] args}{ System.out.print("Hello World"); } } https://code.sololearn.com/WR6mrmI4KsuK/?ref=app
2 Antworten
+ 7
your String[] args should be wrapped with ( ) instead of { }
below (or above, depending on various circumstances) is a correct code
simply copy and run it
+ 7
class MyClass {
public static void main(String[] args){
System.out.print("Hello World");
}
}