常量定义方法 1. 接口:变量默认为 static final 2. 枚举 enum 每个常量都是唯一的,可以通过 values() 方法遍历,也可以有非 public 的构造方法 3. 普通类中使用 static final 修饰变量