Possible Duplicate:
Java modifiers syntax and format
You can put modifiers of variables or methods in any order in Java, for example:
private static final int x;
static final private int y;
Both lines of code above work fine, and both declare an integer that is private, static, and final. My question is, what is the accepted/common standard for arranging them? What order should I put the modifiers in?
See http://checkstyle.sourceforge.net/config_modifier.html (which gives links to the language specification)
The preferred order for your example is: