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

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


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *