I\'m declaring a field:
private static final String filename = \"filename.txt\";
First, does the order of private static final
To complete the nice answer by @Hobo above by a current link
8.1.1. Class Modifiers
A class declaration may include class modifiers.
ClassModifier: (one of) Annotation public protected private abstract static final strictfp
[...]
If two or more (distinct) class modifiers appear in a class declaration, then it is customary, though not required, that they appear in the order consistent with that shown above in the production for ClassModifier.