To be a variable that is a compile time constant, the variable needs to be...
- declared as final
- have a primative or String type
- initialized (on the same line as the declaration)
- assigned to a compile time constant expression
什么是compile-time-constant
原文:http://www.cnblogs.com/sirlipeng/p/4532550.html