What is the best way to implement constants in Java?
That is perfectly acceptable, probably even the standard. where TYPE is the type, NAME is the name in all caps with underscores for spaces, and VALUE is the constant value; I highly recommend NOT putting your constants in their own classes or interfaces. As a side note: Variables that are declared final and are mutable … Read more