We usually follow the convention  of defining attributes at the top of the java class (and at the bottom of the c++ class).