Click to See Complete Forum and Search --> : static final... or final static
oceanebelle
Sep 28th, 2009, 07:27 AM
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"?
David Anton
Sep 28th, 2009, 09:07 PM
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).
oceanebelle
Sep 29th, 2009, 05:40 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.