What happen when we write static public void instead of public static void?
The program will compile first then run properly. For more details visit the reference site: http://www.roseindia.net/java/gettingstartedwithjava/public-static-void-main.shtml
Hi , There is no order to declare the modifiers. Hence there is no differnet to declare the method by public static void or static public void.