📌  相关文章
📜  public static void main vs static public void main - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:38.953000             🧑  作者: Mango

代码示例2
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.