Under no circumstance, I think, you could speak that :" the java HelloWorld sample is easy."
We could study a lot in this lesson.
Let me demo the right code firstly.
public class HelloWorld
{
public static void main(String arg[])
{
System.out.println("Hello World");
}
}
You should advance some questions about it, or you ...
1. can the "public" keyword be skip?
2. can we change the "String arg[]" parameter to "int arg[]"?
3. does the "void" phrase could be put befor "static", as "public void static mian(String arg[])" ?
4. could the "arg[]" be modified to other name ?
Please find the answer to them with search engine.