What if I write static public void instead of public static void in Java?

The program compiles and runs correctly because the order of specifiers doesn’t matter in Java.