Separate public and private members

It's a common practice to separate the members of a class according to their scope (private, package-private, protected, public).

It's a matter of some debate, however, which should come first.

Private-first style:

Public-first style (or, more precisely, largest-scope-first):

See Also :
Construct classes from the outside in
Avoid basic style errors