I have always declared constants like so;
private static final int MY_CONSTANT = 0;
But recently I have had reason to question the use of the static keyword in this declaration. Since it is final, do I even need to declare it static? Are there any repercussions for leaving out static? Are there any reasons I should leave in the static modifier in this context? Are there any costs associated with leaving the static clause?