`// This rule specifies in how the field declarations
// are grouped within the field block.
// There are 4 choices:
// 1. No order
// 2. First public, protected, package and finally private
// 3. First private, package, protected and finally public
// 4. First static final, then static and finally instance
// Option 1
public class Option1
{
// however you like it
}
// Option 2
public class Option2
{
public static int publicField;
protected int protectedField;
package final static int packageField;
private int private Field;
}
// Option 3
public class Option3
{
private int privateField;
package final static int packageField;
protected int protectedField;
public static int publicField;
}
// Option 4
public class Option4
{
public final static int CONSTANT;
protected static int instanceCount;
private int secret;
}
`