For the constants you are defining, there's no reason for them because there is no extra meaning. The literals 0
, true
, and false
already have their meaning.
Constants would be worth creating if there is some extra meaning to attach to those values, such as:
public static final int SUCCESS = 0;
public static final boolean DEBUG = true;
There is meaning behind these values, and it's possible that they may change:
public static final int SUCCESS = 1;
public static final boolean DEBUG = false;
which would make it easier to change the values than changing lots of literals in the program.
If the values have meaning beyond their literal values, and if they could change, then creating constants is worth the effort.