in JAVA by
Will the program run if we write static public void main?

1 Answer

0 votes
by

Yes, the program will successfully execute if written so. Because, in Java, there is no specific rule for the order of specifiers

Related questions

0 votes
asked Nov 15, 2020 in JAVA by rajeshsharma
0 votes
asked Dec 7, 2020 in JAVA by SakshiSharma
0 votes
asked Apr 30, 2021 in JAVA by rajeshsharma
...