how to make hello world in java code example
Example 1: hello world in java
public static void main(String[] args){
System.out.println("Hello World");
}
Example 2: hellow world java code
//simple hello world code for Java
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}