SyntaxFix
Write A Post
Hire A Developer
Questions
You get Constant expression required because you left the values off your constants. Try:
public abstract class Foo { ... public static final int BAR=0; public static final int BAZ=1; public static final int BAM=2; ... }