what is public static void main string args
public static void main(String[] args) is the entry point for any java program and is NOT an ordinary method. It is mainly used to indicate the jvm of the entry point to the program and the program is executed from this point. Also it is static so that it can be directly referenced by the jvm while the execution of the program.