0 votes
in JAVA by
What if I write static public void instead of public static void?

1 Answer

0 votes
by

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

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

Related questions

0 votes
asked May 22, 2022 in JAVA by AdilsonLima
0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
...