I'm trying to write my first hello world java program.
I do not know what I'm doing wrong.
here are my errorsCode:public class helloworld { System.out.println("Hello World"); }
helloworld.java:4: Invalid method declaration, method name required.
System.out.println("Hello World");
^
helloworld.java:4: Class or interface declaration expected.
System.out.println("Hello World");
^
2 errors