hello 第三天啦 今天也是元气满满的一天呢!!! 今天学习了枚举和常量接口还有加强了对昨天接口的认知! 常量接口 程序当中,需要有直观的含义,可以使用接口常量. 红绿灯示例; interface ITrafficLight{ public static final int RED = 1; public static final int GREEN = 2; public static final int YELLOW = 3; } public static void main(String[] args){ int currentLight = x;