Java does not enforce a particular code quality language-wise and therefor programmers should follow certain guidelines when writing code. As all guidelines, they might be violated for a good reason.
final static
: public final static int MY_CONST = 3;
MAX_INTEGER
private
and only accessible through getters and setters.final
unless functionality requires mutability.private
and in turn does not call any non-private method.private final