Does it matter whether I declare a class constant as static or not?
public class MyClass {
private final static int statConst = 1;
private final int nonStatConst = 2;
}
statConst and nonStatConst can never change since they are final, so even nonStatConst will be the same in every instance. Does it matter whether or not I make them static?
(I realise that there would be a difference with just private final int otherConst;)