初学枚举

使用enum定义枚举类enum Week { MON, TUE, WED, THU, FRI, SAT, SUN}测试public class WeekTest { public static void main(String[] args) { printWeek();