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.

...