Java main use code example
Example 1: jave main funtion
public static void main(String[] args)
Example 2: main method java
public class Test {
static void main(String[] args){
System.out.println("Hello World");
}
}
public static void main(String[] args)
public class Test {
static void main(String[] args){
System.out.println("Hello World");
}
}