public static void main vs static public void main code example
Example: public static void main vs static public void main
If you write static public void main instead of public static void main,
then it will make no difference. Program compiles properly and runs.
But if you change the sequence of main,
then it will you give a compiler error.