摘要: 如何定义一个枚举类?1 //定义了4个等级2 enum Level{3 A,B,C,D4 }枚举类的实质:1 class Level{2 public static final Level A = new Level();3 public static final Level... 阅读全文
posted @ 2015-06-22 13:13 长安绝响 阅读(1910) 评论(0) 推荐(1) 编辑