Check out example codes for "java public static void main". It will help you in understanding the concepts better.

Code Example 1

public static void main(String[] args){
}

Code Example 2

public class Test {

static void main(String[] args){

	System.out.println("Hello World");
	
}
}

Code Example 3

public class Test {

public static void main(String[] args){

	System.out.println("Hello World");
	
}
}

Code Example 4

public static void main(string args)

Learn ReactJs, React Native from akashmittal.com