Why are java constants declared static ?
class Foo{
static final int FII = 2 ;
}
In this I understand the use of final? Buy why does it have to be static? Why should it be a class variable, and not an instance variable?
See Question&Answers more detail:os