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

Code Example 1

Class main {
  Public static void main(String[] args) {
    //Write your code here
  }
}

Code Example 2

public class Test {

static void main(String[] args){

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

Code Example 3

public static void main(string args)

Code Example 4

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

Learn ReactJs, React Native from akashmittal.com