Hi,
A stupid question but I'm asking anyway: will there be any subtle difference when I mark a constant as "static final" compared to "final static"?
Printable View
Hi,
A stupid question but I'm asking anyway: will there be any subtle difference when I mark a constant as "static final" compared to "final static"?
No difference.
The order of declaration modifiers never makes a difference in Java (unlike C++, where the ordering of modifiers around pointers will make a difference).
Hmm alright. It was just something nagging in my mind that I read somewhere related to best practices and constants but maybe I was just imagining it.
Thanks.