Java(1)_枚举类的定义

package a;
/**
 * 枚举类
 * @author bw
 *
 */
public enum Enum {
    A,B,C,D,E
}
原文地址:https://www.cnblogs.com/sunnybowen/p/9853272.html