Java / Modifiers
Does the order of public and static declaration is important in main() method?
No. It can be placed in any order except that the return type of any method must before the method name. In this case, void has to specified before the main method name.
More Related questions...